Disabling Selinux

Selinux is a piece of software that restricts how other pieces of software work. Very few things, especially enterprise software, support it. So often you'll find you should simply outright disable it. ... and here's how!

Disable Selinux .. (right now!)

run: echo 0 > /selinux/enforce * note: this only turns it off until the system is rebooted.

Disable Selinux .. (forever!)

open /etc/selinux/config change "SELINUX=...." to: "SELINUX=disabled" save it, then run: echo 0 > /selinux/enforce to turn it off immeadiately also instead of waiting for reboot.


Your feedback

Horror stories? More successful ways to disable selinux? Let us know Otherwise, you can see what others have to say on the feedback page