Files
tldr/pages.zh/linux/getenforce.md

9 lines
232 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# getenforce
> 获取当前SELinux的模式即加强、宽容或禁用
> 另见:`setenforce``semanage-permissive`。
> 更多信息:<https://manned.org/getenforce>。
- 显示当前SELinux的模式
`getenforce`