It is very annoying that almost all the answers on how to enable telnet root access on a Linux server are like, ‘why you want telnet access, don’t use it, use ssh, telnet is insecure’. Thank you very much but I know that already, and I also know why I need telnet root access.
Anyways, if you need to access your CentOS server via telnet and as root user, here is what you do:
yum install telnet-server service xinetd restart
Next, edit /etc/pam.d/remote file and comment out the first line, i.e.
#auth required pam_securetty.so
And this is all. Now you can telnet into your server as root user.

Like
Recent Comments