Re: Logging as Root Using Telnet?

"Keith Mastin" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Geez Blessing...

> 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??

You do ask 'em, don'tcha? :)

Telnet and rlogin are considered to be inherently insecure, because they
pass passwords and user information over the network (including the
Internet, a public network) in plain text. Unless you want to get hacked,
this is generally not a good idea.

Openssh is better because it sends this information in encryted form.
However, logging into a machine as root in any event is not considered to
be a good security policy. What we generally suggest is to make a normal
user a member of the wheel group (edit /etc/group) and to allow only this
user access to root by editing the /etc/pam.d/su file. Then login to the
machine as the user and su root. (su stands for SuperUser)

There are other programs that automate this process even further (ie.
sudo), but until you get a better understanding of what you are doing it's
suggested you stay away from them.

If you need to login to linux from a windoh$ box, get a copy of PuTTY and
use it to login using ssh.

That's the long answer... the short answer is yes, all are possible, but
those are tricks I won't dispell here (except for ssh).

All this information is available on the web using google.... Remember
fishing? Don't forget your pole.  :)

-- 
Keith Mastin
BeechTree Information Technology Services Inc.
Toronto, Canada
(416)696 6070
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.