Sunday, February 21, 2010

Disabling selinux

Temporary disabling.

echo 0 >/selinux/enforce


Permanent disabling.

vim /etc/selinux/config

.. just change SELINUX=enforcing to SELINUX=disabled, and you're done.
Or we can also change /boot/grub/grub.conf.
On the kernel line of current distribution, add enforcing=0 at the end.

No comments:

Post a Comment