Results 1 to 2 of 2

Thread: How to Disable Telnet

  1. #1
    mega's Avatar
    mega is offline Newbie Net Builder
    Join Date
    May 2009
    Location
    Hell , Wanna Come ??
    Posts
    62
    Thanks
    0
    Thanked 10 Times in 4 Posts

    Red face

    Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH.
    Some hosting providers are not disabling telnet by default but you should ensure that it has been turned off as it's a great security risk to your servers. TELNET server listens for incoming messages on port 23, and sends outgoing messages to port 23.

    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.
    /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.
    Never argue with an idiot; First he takes you down to his level and then he beats you with experience.

  2. #2
    Eyes's Avatar
    Eyes is offline Newbie Net Builder
    Join Date
    May 2009
    Location
    In a Party
    Posts
    83
    Thanks
    0
    Thanked 1 Time in 1 Post
    whats telenet

Similar Threads

  1. Big Warning for video sites and Adsense Disable
    By thesyndicate in forum AdSense
    Replies: 2
    Last Post: 13 April, 2010, 05:28 AM
  2. Disable Direct Root Logins
    By mega in forum Managing
    Replies: 1
    Last Post: 14 May, 2009, 10:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •