Operating System - Linux
1829576 Members
2247 Online
109992 Solutions
New Discussion

Re: Telnet using root in Linux AS4

 
SOLVED
Go to solution
walter crasto_1
Frequent Advisor

Telnet using root in Linux AS4


How to enable telnet to root user, my system is Linux AS 4 (Nahant), Kernel 2.6.9-5.ELsmp

Already # the first 2 entries in /etc/pam.d/login file. But it doesn't work.
Thanks in advance.

Walter
2 REPLIES 2
Alexander Chuzhoy
Honored Contributor
Solution

Re: Telnet using root in Linux AS4

Instead of editing /etc/pam.d/login file you should edit /etc/securetty file.
Add several entries like this:
pts/0
pts/1
pts/2
...
pts/10

This compromises security of course,so it's best to consider using ssh.
If security has no importance at your site/station you can simply remove the /etc/securetty file - then all root related access will be allowed.
Cheers.
walter crasto_1
Frequent Advisor

Re: Telnet using root in Linux AS4

Thanks this problem is resolved by adding suggested entries.

Regards

Walter Crasto