getenforce - Man Page
get the current mode of SELinux
Examples (TL;DR)
- Display the current mode of SELinux:
getenforce
Synopsis
getenforce
Description
getenforce reports whether SELinux is enforcing, permissive, or disabled.
Author
Dan Walsh, <dwalsh@redhat.com>
See Also
Referenced By
selinuxenabled(8), setenforce(8).
7 April 2004 dwalsh@redhat.com SELinux Command Line documentation