[CentOS] Completeley disabling SELinux?

Ned Slider ned at unixmail.co.uk
Fri Jan 23 13:24:16 UTC 2009


Kevin Thorpe wrote:
> Hi all,
>           I've set SELinux to disabled using the security and firewall 
> widget but I'm still getting a lot of messages in Logwatch....
> 
>  NULL security context for user, but SELinux in permissive mode, continuing ()
> 
> So it looks like SELinux is still operating. Can anyone tell me how to 
> turn it off completely? It's my development
> server under my desk so I reallly don't care about security.
> 
> thanks

It's on the Wiki:

http://wiki.centos.org/HowTos/SELinux#head-430e52f7f8a7b41ad5fc42a2f95d3e495d13d348

Edit the SELINUX= line in /etc/selinux/config to 'disabled' 
(SELINUX=disabld) and reboot.



More information about the CentOS mailing list