Jul14

Written by:David Aldridge
7/14/2011 10:05 PM 

SELinux on a workstation is a fine thing.  SELinux on a server is a bloody annoyance.

To disable SELinux on CentOS first you have to edit the /etc/sysconfig/selinux file.  You have to change the SELINUX=enforcing line to read:

SELINUX=disabled

And then save the file.  On reboot the machine will no longer have SELinux enforcement.

You can also stop SELinux without having to reboot the machine by issuing the following command as root:

setenforce 0

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
You must be logged in and have permission to create or edit a blog.