Can root every be "Root"

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Can root every be "Root"

Post by alex.barylski »

Edit: I just logged in as my primary user and it occured to me, Debian (AFAIK) doesn't let remote login as root, you need to su into root after you login as user. If I'm wrong please correct me, otherwise, ignore this topic. :)

I purchased a dedicated the other day and *finally* got the email with user/pass/webmin details. :)

I tried logging into my root account using SSH client built into my editor of choice (UltraEdit) and I"m getting a user/pass invalid error.

1) I changed the password via webmin, so I am sure the password is correct
2) I have tried Root and root - thinking maybe that was the issue

I still cannot login...WTF...

Is it possible SSH isn't setup? Can I check this using Webmin?

I am getting a warning with my SSH telling me the server host key is *not* cached, blah blah blah...

I am familiar with generating this key as I did it once a long while back (sourceforge) but I wasn't given no key from my hosting company, so I'm not sure WTF is going on???

Any ideas?

Thanks :)
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Root is not allowed to login by default on most if not all SSH setups... which is the way it should be.

As you mentioned, ssh in as hockey and su to root :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You'll find the setting in /etc/ssh/sshd_config but don't change it. This is why windows is a virus-ridden system. People insist on using root access for everything which leaves your system open to attack.
Post Reply