Operating System - Linux
1760019 Members
4321 Online
108889 Solutions
New Discussion юеВ

how to login as root, using telnet???

 
SOLVED
Go to solution
Steven E. Protter
Exalted Contributor

Re: how to login as root, using telnet???

By default, Red Hat Linux has since at least version 7.0 not allowed by default root login from telnet.

The reason is that telnet does user authentication in clear text, which means anybody along the route or with a sniffer can get your root password during authentication.

I have experienced a second root account being set up on my Red Hat 7.3 box(long since upgraded). I can only believe that occurred due to packet sniffing or some other security flaw.

Since then I use telnet on a normal user account to my ISP and then use SSH to log on. openssh is set up on your Red Hat box to allow root login if you installed it at all. Its secure and I recommend it.

I strongly advise against editing /etc/securetty or the other methods of allowing root to log in directly by telnet.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Drouin
Trusted Contributor

Re: how to login as root, using telnet???

some people have problems with long threads, isn't it ?

Olivier Drouin
Trusted Contributor

Re: how to login as root, using telnet???

just joking btw ;-)
Sharfuddin
Frequent Advisor

Re: how to login as root, using telnet???

Hi to All
Folks, I m much pleased, and thankfull to u all, for the feedbacks.
Sinhass there is nothing wrong in /etc/xinetd.d/telnet
Mark Grant, I worked on you suggestions, and succeed. As per your instruction in /etc/securetty, I add pts/1, pts/2....not ttyx(tty1, tty2...were alredy there), and then try root login via telnet, and login ssuccessfuly. again thanks, for support.
Olivier Drouin , u are indeed Great, yes u were wright, I followed ur instructions, and succeed, thanks, and so nice of u.
Martin P.J. Zinser, u too a Great, as per your instructions I did
#ssh root@node, and succeed. And you told me to check /etc/securetty, I check this file, and found all ttys(tty1, tty2, ...), but have to add pts/x, and it works.
Stuart Browne, I didnt find the /etc/pam.d/telnet file, so I didnt follow u, sorry and thanks.
And in last thanks a lot, Mobeen for u r kind suggestions/thoughts.

Thanks
sharf
Saravanan_9
Advisor

Re: how to login as root, using telnet???

hi,

In /etc directory the filename called
securetty. just rename that file . u can login as the root

like

#mv /etc/securetty /etc/securetty.old