root(super user) is unable to login by using Telnet
Hi every one,
when i am trying to login as a root from telnet or rlogin .I got the following message. Trail 1:- login: root Password: root12 Login incorrect But root12 is right password. Trail 2:- login: su Password:root12 Login incorrect where root12 is right password. please help me in this regard, Regards Ali |
telnet and rlogin are not secure. They are disabled for default, specially for root.
I don't remember how to circumvent this but the right way is to use ssh which is pretty the same using telnet. You can, of course, telnet as a regular user to the remote system and them, becomes root by "/bin/su -". regards, |
You can edit /etc/securetty to uncomment the remote tty(s) to be able to telnet as root, but as marozsas said it's not secure. You can use ssh instead.
|
Thanking you for giving valuable suggetion.
But /etc/securetty doesnot conatain any comment lines sir. In my system /etc/securetty conatains the following:- console vc/1 vc/2 vc/3 vc/4 vc/5 vc/6 vc/7 vc/8 vc/9 vc/10 vc/11 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9 tty10 tty11 |
If you use linux, you can view the configuration, you can edit /etc/xinet.d/telnet,
search like .....=root. change root with +USERID. I hope can solve your problem |
If you insist to use telnet as root then add the following lines to /etc/securetty since they don't exist:
Code:
pts/0 But I tell you once more to use ssh which is more secure than telnet because everything you send using ssh is encrypted while using telnet is un-encrypted |
I tried Bathory solution .
But it fails. Please help me in this regard, |
Try to be more specific. What is the message you get when trying to telnet as root?
If you can telnet as normal user, then do it and run Code:
tty |
Thanking you Bathory sir,
But The following types of files are there in /dev. tty0..........tty63 and ttyS0 ..........ttyS11 related to terminals. Still I am getting error while login as root account. But for normal user there is no problem. Regards Ali |
Quote:
Code:
tty |
Thanking you Bathory,
Finally I got it by your help. Regards, Ali |
All times are GMT -5. The time now is 03:03 PM. |