How to Disable Telnet access on server
# vi /etc/xinetd.d/telnet3. Look for the line: disable = no and replace with disable = yes4. Now restart the inetd service:
#/etc/rc.d/init.d/xinetd restart5. Turn off it through chkconfig as well because it can still start through that.
#/sbin/chkconfig telnet off
6. Scan your server to ensure port 23 is closed.
#nmap -sT -O localhost
Also run ps -aux | grep telnet and if you find anything other than “grep telnet†as result kill the process.

















Leave a Reply
You must be logged in to post a comment.