A small program to stop iptables
Hi all folks,
RH9.0 ===== Can you help me recall a small program to stop iptables permanently so that it would not start to run on booting. This program can also stop other applictions from running. Thanks in advance. B.R. satimis |
Why do you need such a script?
|
Quote:
NO, it is not a new program. It has been installed on RH8.0 and I suppose it is also runing on RH9.0. I forget the command to start it. From it I can enable/disable iptabes and some other applications. B.R. satimis |
yes the command to do that is,
chkconfig iptables off you can use other options as well to see what's enabled. like chkconfig --list |
setup? ntsysv?
|
Not really.
Enable / Disable initd scripts chkconfig on chkconfig off Enable and start / Disable and stop Xinetd servers chkconfig on chkconfig off Start / stop initd scripts service scriptname start service scriptname stop setup for services is not a very good way to do it unless you actually know what you are doing and want it that way. Setup will only turn on or off a service in the current runlevel example chkconfig --list httpd httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off run setup and enable httpd chkconfig --list httpd httpd 0:off 1:off 2:off 3:off 4:off 5:on 6:off That's not right. Now chkconfig httpd on chkconfig --list httpd httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off Now run setup turn off httpd chkconfig --list httpd httpd 0:off 1:off 2:on 3:on 4:on 5:off 6:off wrong again unless that's what you want chkconfig httpd off chkconfig --list httpd httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off Sorry for dragging this out but in conclusion, use chkconfig |
Quote:
YES. That is this one 'ntsysv' Lot of thanks B.R. satimis |
All times are GMT -5. The time now is 03:41 PM. |