getenforce — get the current mode of SELinux

Synopsis

getenforce

Description

getenforce reports whether SELinux is enforcing, permissive, or disabled.

Author

Dan Walsh, <dwalsh@redhat.com>

See Also

selinux(8), setenforce(8), selinuxenabled(8)

Referenced By

selinuxenabled(8), setenforce(8).

7 April 2004 dwalsh@redhat.com SELinux Command Line documentation