Written by:David Aldridge7/14/2011 10:05 PM
SELinux on a workstation is a fine thing. SELinux on a server is a bloody annoyance.
To disable SELinux on CentOS first you have to edit the /etc/sysconfig/selinux file. You have to change the SELINUX=enforcing line to read:
SELINUX=disabled
And then save the file. On reboot the machine will no longer have SELinux enforcement.
You can also stop SELinux without having to reboot the machine by issuing the following command as root:
setenforce 0
0 comment(s) so far...