tldr/pages/linux/getenforce.md

10 lines
251 B
Markdown

# getenforce
> Get the current mode of SELinux (i.e. enforcing, permissive, or disabled).
> See also: `setenforce`, `semanage-permissive`.
> More information: <https://manned.org/man/getenforce>.
- Display the current mode of SELinux:
`getenforce`