Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to telnet as root user

Status
Not open for further replies.

dbase77

Technical User
Apr 23, 2002
591
IE
HI all,

I have problem to telnet as root user in RH8. What am I missing here? I can telnet as normal user.

Thank you in advance.

regards,
feroz
 
What do you mean, problem? You cannot use 'telnet' command as user root, or you cannot connect by telnet to your machine as root? (hint - check /etc/securetty)
 
HI,

Im not be able to connect by telnet to my linux machine as root user. Normal user is fine. What am I looking for in file /etc/securetty?

regards,
feroz
 
Dont know if this helps, because it it from the SuSE knowledge base.

Situation
You want to log in as root to your SuSE Linux 8.0 via telnet.

Procedure
Edit the file

/etc/pam.d/login
and disable the line

auth required pam_securetty.so

Warning
Never use telnet for remote applications, since the whole data exchange takes place in an unencrypted way. Even your login (password) is transmitted unencrypted on the network. Telnet involves a high security risk. Thefore, we recommend you to use encrypted tools such as OpenSSH, for which Windows and MacOS clients are also available. You can find more information on this program at
 
Hi,

You are right. It works now. Thank you for your help.

regards,
feroz
 
That's one solution. The second one is to add proper terminals to /etc/securetty. Both solutions are valid.
 
Using telnet as root is bad from sicurity poin of view.
Your passwd is transmited over the network as clear text and
with some easy to use programm bad guys can catch YOU.
As home user on a desktop PC is OK.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top