selinuxenabled — tool to be used within shell scripts to determine if selinux is enabled

Synopsis

selinuxenabled

Description

Indicates whether SELinux is enabled or disabled.

Exit Status

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(8)

Referenced By

getenforce(8), setenforce(8).

7 April 2004 dwalsh@redhat.com SELinux Command Line documentation