Linux Security SELinux Unix Disable SELinux on CentOS 5 and remove the security context associated with files By Sri Vittal Blog Administrator on Tuesday, May 1, 2012 Edit /etc/sysconfig/selinux and set SELINUX=disabled Reboot the machine and login as root Then from the root folder run the following command find . -print0 |xargs -0 -n 1 setfattr -h -x security.selinux