Re: disable SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux