1755740 Members
3891 Online
108837 Solutions
New Discussion юеВ

stopping ftp, telnet etc

 
SOLVED
Go to solution
EJ Stremler
Frequent Advisor

stopping ftp, telnet etc

How do I stop the use of ftp and telnet on HPUX servers. Do I comment the daemons out in /etc/inetd.conf, then do a inetd -c.. Anything else I need to do?
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: stopping ftp, telnet etc

Yes, edit /etc/inetd.conf and remove/comment any unwanted daemons. Save the file and then issue an "inetd -c" command which sends a SIHGUP to the running inetd to cause it to reconfigure itself.

NOTE: This will only disable FTP/telnet daemons; no cliennts can connect to your server but your box will still be able to be an ftp/telnet client. If you want to disable the client as well then shutdown the execute permissions on /usr/bin/telnet and /usr/bin/ftp.
If it ain't broke, I can fix that.
Paul Sperry
Honored Contributor

Re: stopping ftp, telnet etc

If you want to just restrict who can ftp/telnet to your system look at the /var/admin/inetd.sec file.
EJ Stremler
Frequent Advisor

Re: stopping ftp, telnet etc

Thankyou all for the quick and accurate response.