[CentOS] Re: disable SELinux

Tue Mar 11 19:10:54 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 3-11-2008 11:34 AM Bobby spake the following:
> 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.
> 
Instead of adding and deleting shortcuts manually and accidentally breaking 
something, use chkconfig (man chkconfig).

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080311/a5a809e1/attachment-0005.sig>