Re: Logging as Root Using Telnet?

Eric Koldeweij <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
It is generally unwise and a security hazard to allow remote root 
logins, even using ssh. I recommend creating a regular user, log in 
using that userid and su to root.
If you are in a complete trusted environment you can login as root using 
telnet by adding /dev/pts/x (where x are numbers) to /etc/securetty or, 
using ssh, set PermitRootLogin to Yes in /etc/ssh/sshd_config.
rlogin should be avoided like the plague at all in my humble opinion, 
but if you wish you can play with .rhost and host.equiv files... *shiver*
Again, I am dead against those actions. If those boxes are connected to 
the Net expect your system to be vulnerable to hackers. Read the book 
"Takedown" by Tsutomu Shimomura to get some ideas how easy it is to hack 
into systems equipped with the 'r' services.

Eric.

Blessing Kamutande wrote:

>Hie All
>Does telnet, rlogin and ssh allow you to login as root? If not how can I log in from another machine using any of the above with root privileges??
>
>TIA
>
>Rgds
>BLessing
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.