30 September 2014

How To: Disable SELinux in Centos

SELinux or abbreviation of Security-Enhanced Linux is a security enhancement that regulate a variety of access control in our linux system. But sometimes there are some conditions where we do not want, such as ftp access become writeable, etc..

In CentOS 5.5 this SELinux enabled by default, to disable it, simply edit the configuration of SELinux which is located in: / etc / selinux / config to be like this:

# 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=enforcing
SELINUX=disabled
  # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted

Next save and reboot your CentOS
Hopefully Helpful;-)

No comments:

Post a Comment