Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logging in problems

Status
Not open for further replies.

NewToo

Technical User
Jun 11, 2001
136
Hello

Again I'm new at this!


I'm having issue logging in to my linux server using telnet as root user. The server let me login with the account that i created but doesn't let me login as root. I'm using linux redhat 7.3.


Thank you for all you're help

Newtoo
 
That is more than likely a default security feature. To be secure it is best NOT to be able to remotely login to a box as root, you should login first as a regular user and the 'su -' to root. If you are able to telnet as root your system is more susceptible to crackers who have cracked your root password. I would suggest not changing this feature. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
 
d3funct

Thank you!

So after I login as a user i can just type su to change to root user...then it will prompt me for the password?

Thank you
Newtoo
 
By default telnetd does not allow root to login. You can change this, but I wouldn't reccomend it and forgot how anyway (someone else know?).

You can connect as yourself, then type 'su', enter the root password and become root. Or better yet, configure sudo so you can run tall commands without having to be root all the time.

Don't forget that telnet sends passwords across the wire as plaintext, ssh is a good alternative as the whole connection is encrypted.

Have fun!
 
verland

Thank you for the help

Thanks
Newtoo
 
verland


one last question
how do enable ssh on linux 7.3..


Again
Thank You
Newtoo
 
Well, once you've verified it's on your box (just type "which sshd" if it shows the path to sshd (something like /sbin/sshd or such)) then just type AS ROOT "service sshd start" and it's going. If it's not on your system go to and get the tarball for the latest version untar it and READ THE INSTALL file and follow the install instructions. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
 
Hi,

If you really want to login as root, add an entry in /etc/securetty for the line from which you want to connect. But as d3funct and verland said, it's "more than likely a default security feature" ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top