Monday, August 3, 2015

Disable SELinux (Security-Enhanced Linux) centos 6

For permanently disabling SElinux you need to edit the file /etc/selinux/config  and change the line SELINUX to


# 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.

# change

# SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.

#strict - Full SELinux protection.


Then reboot

No comments:

Post a Comment