[CentOS] Re: disable SELinux

Wed Mar 12 10:42:50 UTC 2008
Tony Mountifield <tony at softins.clara.co.uk>

In article <Pine.LNX.4.64.0803111143210.26481 at storm.ee.ucr.edu>,
Hiep Nguyen <hiep at ee.ucr.edu> wrote:
> On Tue, 11 Mar 2008, Ray Van Dolson wrote:
> 
> > On Tue, Mar 11, 2008 at 11:25:33AM -0700, 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
> >
> > As root:
> >
> >  # chkconfig iptables off
> >  # service iptables stop
> >
> i reviewed my notes and that's what i did:
> 
> #chkconfig iptables off

Did you type the '#'? The # represents the root shell prompt, and should
not be typed in. If you type it, it makes the whole line a comment which
isn't an error, but does nothing! Since chkconfig also produces no
output, it would be hard to tell the difference!

> is there any other actions that trigger this back on when reboot?

Not that I'm aware of. Do these two commands, and check that the second
command shows "Off" against all runlevels:

chkconfig iptables off
chkconfig --list iptables

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org