How to Disable Telnet
Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH.
1. Login to your server through SSH and su to root.
2. Type pico /etc/xinetd.d/telnet
3. Look for the line: disable = no and replace with disable = yes
4. Now restart the inetd service: /etc/rc.d/init.d/xinetd restart
5. Turn off it through chkconfig as well because it can still start through that.
6. Scan your server to ensure port 23 is closed.
Similar Articles : Compile 2.6.7, 2.6.8, 18.104.22.168, 2.6.9, 2.6.10, 22.214.171.124 Kernel w/module-init-tools, Rkhunter Installation, Detect and Clean a hacked server T0rnkit Tutorial, How to install KISS Firewall, How to Disable Telnet, How to install mod_security for Apache, How to install BFD (Brute Force Detection), How to install APF (Advanced Policy Firewall), E-mail Alert on Root SSH Login, Mask Your Web Server for Enhanced Security, Guide to Chkrootkit - checking for intruders, Creating a Welcome message for SSH logins, Disable Direct Root Login, RootCheck - Root Check, Changing APF log for TDP/UDP drop's
© Copyright 2003-2010
ABN 97 125 618 662