[CentOS] disable SELinux

Tue Mar 11 18:34:32 UTC 2008
Bobby <bobby at d4business.com>

On Tuesday 11 March 2008 14:25:33 Hiep Nguyen wrote:
> hi all, i asked this topic couple days ago, but i have problem again.
>
> for some reasons, iptables was turned on again.  is there any way to
> disable iptables completely?
>
> this is what i did last time:
> #service iptables stop

Of course that has nothing to do with SELinux. Iptables is the firewall. You 
stopped the firewall, but did not remove the setting that is executed when 
you boot.

If that is really what you want to do then remove iptables from the rc 
directory. It depends on which distro you have but on RH compatible distro's, 
such as CentOS it is in /etc/rc3.d/ and /etc/rc5.d.

The name is prefixed with an S and a number which indicates it's startup 
position. For example S10iptables.

It is a shortcut or link as it's called in Linux and you can safely remove it.
The actual iptables startup script is in /etc/init.d and should not be 
deleted.

-- 

Bobby