Computing.Net > Forums > Linux > cannot login as root

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cannot login as root

Reply to Message Icon

Name: Jesus
Date: January 25, 2001 at 08:06:14 Pacific
Comment:

For no apparent reason, I can no longer log as root into Linux console(Redhat 6.2). I have made no installation, or changes that I think could possibly affect this. I can only log as user but with the password of the root (itīs amazing!!!).



Sponsored Link
Ads by Google

Response Number 1
Name: blumini
Date: January 25, 2001 at 08:50:56 Pacific
Reply:

Can you get a superuser shell su ?
Which rights do you have ? Access to /etc/passwd ?
Try to login from a remote box, if you have a network.


0

Response Number 2
Name: Michael Mangone
Date: January 25, 2001 at 09:15:59 Pacific
Reply:

If you can sit at the console, reboot the
machine and bring it up in single user mode.
You should be able to do what ever you need
to do to correct whatever your problem is.


0

Response Number 3
Name: Jesus
Date: January 25, 2001 at 09:59:17 Pacific
Reply:

Thanks friends,
well i login in single mode and changed the root password , after restart the problem continue but the only difference is i can login as a user but with the new password.
Telnet do the same.


0

Response Number 4
Name: Michael Mangone
Date: January 25, 2001 at 11:51:38 Pacific
Reply:

So can you gain root access when logged in?
If not go back into single user mode and
create a new user and then edit the passwd
file. Change the userid and the groupid to
zeros.

mango:soMecHaRs:500:500::/home/mango:/bin/bash

mango:soMecHaRs:0:0::/root:/bin/bash

reboot the system and log on as this user
(must be on console to log as this user) I
realize that this doesn't really answer your
question though.


0

Response Number 5
Name: Radic
Date: January 26, 2001 at 00:59:23 Pacific
Reply:

Reboot and run rescue mode. There should be a way to change the root password without reinstalling it. "boot: rescue"


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: cannot login as root

login as root www.computing.net/answers/linux/login-as-root/20239.html

after netcfg - not able to login as root www.computing.net/answers/linux/after-netcfg-not-able-to-login-as-root/5227.html

Help: how to Login as root without asking for username and password www.computing.net/answers/linux/help-how-to-login-as-root-without-asking-for-username-and-password/775.html