[CentOS] Re: disable SELinux

Garrick Staples garrick at usc.edu
Tue Mar 11 19:23:12 UTC 2008


On Tue, Mar 11, 2008 at 12:16:53PM -0700, Ray Van Dolson alleged:
> > Instead of adding and deleting shortcuts manually and accidentally breaking 
> > something, use chkconfig (man chkconfig).
> 
> I think this thread has successfully covered all ways to skin a cat...
> 
>   * chkconfig
>   * system-config-firewall/securitylevel
>   * manually
>   * system-config-services

pfft.

rpm -e iptables
rm -f /etc/sysconfig/iptables
echo > /etc/sysconfig/iptables
chmod 0 /etc/rc.d/init.d/iptables
echo > /etc/rc.d/init.d/iptables

service iptables stop; service iptables save

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080311/72377009/attachment.sig>


More information about the CentOS mailing list