Hi, I'd like to disable the netstat service on my FW machine . How to do it ? THINX
security wrote:
I'd like to disable the netstat service on my FW machine . How to do it ?
edit /etc/inetd.conf or /etc/xinetd.conf (or whatever program you are using) and find the line containing netstat. Put a # in the first column of this file and save it. next enter "rcinetd reload" in your root shell. If you have an ancient SuSE machine the command is /sbin/init.d/inetd reload. Or endure a reboot. Peter
I'm not using the inetd . in my /etc/rc.config : START_INETD="no" (Suse 7.3) Peter Wiersig wrote:
security wrote:
I'd like to disable the netstat service on my FW machine . How to do it ?
edit /etc/inetd.conf or /etc/xinetd.conf (or whatever program you are using) and find the line containing netstat. Put a # in the first column of this file and save it.
next enter "rcinetd reload" in your root shell. If you have an ancient SuSE machine the command is /sbin/init.d/inetd reload. Or endure a reboot.
Peter
security wrote:
I'm not using the inetd . in my /etc/rc.config : START_INETD="no" (Suse 7.3)
No daemon will be stopped by just changing a rc.config variable. If you want to find out, which program opened a socket, I would recommend lsof. In your case enter "lsof -i :netstat" in a root shell. Check the first column for a name, but that name can be changed IIRC. Peter -- Please edit your messages using your brain: no
Should I write my answer above the quoted text?
participants (2)
-
Peter Wiersig
-
security