Enable Root logins to Telnet and FTP Services


Configure Telnet for root logins

Simply edit the file /etc/securetty and add the following to the end of the file:

pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9

This will allow up to 10 telnet sessions to the server as root.

Configure FTP for root logins

Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the ‘root‘ line from each file.

Make sure that you NEVER configure your production servers for this type of login.

1 comment:

  1. Wonder what makes people to still use telnet. People should stop encouraging the use of Telnet. The world today is not what it used to be 10 years ago. There are a lot of evil coders around than there were 10 years ago. There are lot of dumb users around than there were 10 years ago. As a result these dumb users nicely use telnet and login and the evil coder gets his sweets with the users's id and password which he can start use for identity theft, corporate theft, or whatever.. But if SSH is used, then the exposition of secure data doesnot happen as the transfer is completely encrypted.

    ReplyDelete