getenforce

From WebHostingNeeds.com
Revision as of 18:03, 19 May 2009 by Admin (talk | contribs) (New page: <pre> [email protected] [~]# getenforce Disabled [email protected] [~]# </pre> Show status of SELinux. Here is the setting on the server <pre> [email protected] [~]# cat /etc/selinux/config # This ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[email protected] [~]# getenforce
Disabled
[email protected] [~]#

Show status of SELinux.

Here is the setting on the server

[email protected] [~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
[email protected] [~]#