Disable SELinux CentOS 6

You need to be aware that by disabling SELinux you will be removing a security mechanism on your CentOS system. Think about this carefully, and if your system is on the Internet and accessed by the public, then think about it some more.

Applications should be fixed to work with SELinux, rather than disabling the OS security mechanism.

You could even switch to Permissive mode where every operation is allowed. Operations that would be denied are allowed and a message is logged identifying that it would be denied.

If you really need to disable SELinux on CentOS 6 please consider the following:

SELinux Warning

Change SELINUX=enforcing

to SELINUX=disabled

This will disable SELinux on your next reboot.