With a little side of applesauce...

Monday, May 21, 2007

CentOs - Disable SELinux

I find that selinux cramps my style :)), so have found that you can disable it by changing:
/etc/sysconfig/selinux:

SELINUX=enforcing


To:

SELINUX=disabled


And, rebooting, or running:

/usr/sbin/setenforce 0


to disable it until the system is rebooted.

1 comment:

speeves said...

To see if selinux is enabled or disabled, you can run the command:
/usr/sbin/getenforce