Discussion Locked

Remote Login not working for Root

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My brother installed Linux-Mandrake 7.0 on his system, and it works great...he even setup an account for me and I can telnet from a remote location and access my files...but when he tries to telnet and login as "Root", it says "login incorrect"...
Is there any setting that needs to be changed to allow this, or any other special way to do it?

thanks in advance
Joel
http://jdm.4mg.com

2 replies

by mutated

There is an easy way to change this but first a little rant about security:
Telnet is unencrypted which means that anyone between you and the remote computer sniffing the network can see everything that you are doing (including your username and password) this is way root logins are disabled by default, the is something called ssh (downloadable from ftp.cs.hut.fi) which is like telnet only it's encrypted so people can't get your password, there is a great free ssh client called putty out theretoo..
now if you still want to enable root access to telnet remotely there is a file /etc/securetty which lists all the ttys which root can logon to just add your ttys's to the list, another way doing it is just switching context to root when you are logged in as another user use the command su
type 'su -' then the root password to switch to root.

but use ssh trust me on this, if you use telnet you will get rooted(hacked).

This discussion is closed to new replies.