Click to See Complete Forum and Search --> : Ports


Reezie
05-24-2002, 12:25 PM
ISS is reporting a large number of ports open. How can I close them? I'm running Redhat 6.1 w/apache web server. Thanks!

X_console
05-24-2002, 01:35 PM
You should be able to close most of them from your /etc/xinetd.conf file. Other services can be shutdown from your /etc/rc.d files.

Reezie
05-24-2002, 01:51 PM
Does editing the /etc/inetd.conf file remove them also? Thanks for your help. Much appreciated.

chikn
05-24-2002, 02:18 PM
If you have an inetd.conf file yes. Comment out the ones you dont want. Actually its easier than if you have a xinetd.conf file as there usually isnt anything in it it all points to rc.d.

I guess that version of RedHat is old enough to have to inetd.conf file.

X_console
05-24-2002, 11:42 PM
Yes, xinetd.conf is the replacement for inetd.conf for RedHat. I thought RedHat did the replacement in 6.x, but apparantly not. After you edit inetd.conf, you need to restart inetd using kill -HUP $(cat /var/run/inetd.conf)

Reezie
05-28-2002, 08:10 AM
Thanks for all the help!