Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

selinuxenabled(1) [mojave man page]

selinuxenabled(1)					SELinux Command Line documentation					 selinuxenabled(1)

NAME
selinuxenabled - tool to be used within shell scripts to determine if selinux is enabled SYNOPSIS
selinuxenabled DESCRIPTION
selinuxenabled Indicates whether SELinux is enabled or disabled. It exits with status 0 if SELinux is enabled and 1 if it is not enabled. AUTHOR
Dan Walsh, <dwalsh@redhat.com> SEE ALSO
selinux(8), setenforce(8), getenforce(1) dwalsh@redhat.com 7 April 2004 selinuxenabled(1)

Check Out this Related Man Page

getsebool(8)						SELinux Command Line documentation					      getsebool(8)

NAME
getsebool - get SELinux boolean value(s) SYNOPSIS
getsebool [-a] [boolean] DESCRIPTION
getsebool reports where a particular SELinux boolean or all SELinux booleans are on or off In certain situations a boolean can be in one state with a pending change to the other state. getsebool will report this as a pending change. The pending value indicates the value that will be applied upon the next boolean commit. The setting of boolean values occurs in two stages; first the pending value is changed, then the booleans are committed, causing their active values to become their pending values. This allows a group of booleans to be changed in a single transaction, by setting all of their pending values as desired and then committing once. OPTIONS
-a Show all SELinux booleans. SEE ALSO
selinux(8), setsebool(8), booleans(8) AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. The program was written by Tresys Technology. dwalsh@redhat.com 11 Aug 2004 getsebool(8)
Man Page