Saturday, February 11, 2012

Turning off SELinux

* Turning off SELinux temporarily
echo 0 > /selinux/enforce

* Configuring SELinux to log warnings instead of block
vi /etc/selinux/config
SELINUX=permissive

* Completely turning off SELinux
vi /etc/selinux/config
SELINUX=disabled

You will need to reboot your system or temporarily set SELinux to non-enforcing mode to create the desired effect like the example above