getenforce (8) - Linux Manuals

getenforce: get the current mode of SELinux

NAME

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)