SELinux

Security-Enhanced Linux

Disable SELinux and Remove Security Contexts From Files

Not everyone needs/wants SELinux enabled on their system.

Edit /etc/selinux/config and set SELINUX=disabled

This example works for RHEL/CentOS/Fedora type systems. Other systems will be similar, but the location and filename may be different.

Now, reboot the machine and login as root. Change to the root directory, and run the following command to remove the security contexts associated with all the files on the system.