14 November 2007

Linux: How to enable root login for telnet sessions

Enable root login for telnet sessions is VERY BAD security.We have to make sure that is not configured on our production servers for this type of login.

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 user.

No comments: