SysTutorials

Linux Manual Pages › Section 8

getenforce(8)

getenforce – get the current mode of SELinux

Synopsis

getenforce

Description

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

Author

Dan Walsh, <dwalsh [at] redhat.com>

See Also

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