[shell]# vi /etc/sysconfig/selinux
# SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUX=targeted
[shell]# reboot
[shell]# getenforce
[shell]# sestatus