From: Gavin McCullagh (gavin at domain fiachra.ucd.ie)
Date: Wed 03 Oct 2001 - 12:51:19 IST
On Wed, 03 Oct 2001, Oisin Kim wrote:
> try:
>
> linuxconf
>
> click the control tab at the top
>
> choose Control service activity
>
> click on the service you wish to modify the activity of
>
> e.g ipchains.... then select stop, if you wish to permanently disable it
> unselect Automatic or unselect the runlevel you don't wnt it to run in using
> the runlevel tab.
>
> click accept
>
> click file Act Changes
>
> then Quit
>
for the sake of completeness, the equivalent is:
cd /etc/rc.d/rc5.d/ (or /etc/rc5.d on debian)
mv S??iptables K??iptables
where ?? will be an integer rather dependant on the system. You've simply
renamed the link with K instead of S.
This means on entering runlevel 5 (the default runlevel on most RH
systems, it's 2 on debian), the system will kill iptables (K) as opposed to start (S) iptables.
That's a long-term measure, then you need to stop it by hand (or re-enter
runlevel 5, but this is simpler):
/etc/rc.d/init.d/iptables stop
This is (to the best of my knowledge) what linuxconf does (when it works).
Gavin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:29 GMT