LinuxCommandLibrary

getenforce

get the current mode of SELinux

Name

get the current mode of SELinux

Synopsis

getenforce

Description

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

Author

Dan Walsh,

See Also

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

Copied to clipboard