Computing.Net > Forums > Linux > My root login password is lost bcoz ....

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.

My root login password is lost bcoz ....

Reply to Message Icon

Name: Scorpion
Date: August 24, 2001 at 04:49:19 Pacific
Comment:

Hi!

Please help!!!!

Any body there to help me to retrieve my linux system. I have lost my group or password for the root. This happenned after a power failure. i am unable to start my system with root login.

The error given is 'The login password is incorrect.

thanks
I would be really grateful.

I am in urgent need.



Sponsored Link
Ads by Google

Response Number 1
Name: Mik
Date: August 24, 2001 at 06:13:38 Pacific
Reply:

Boot into single mode. Use passwd to change the root password.
If you are not able to boot into single mode then try booting with a shell instead of the init script. To do this type "linux init=/bin/bash" at the lilo prompt. Usually this puts you in read only mode so you'll have to issue the following command before you can change your password "mount -wno remount /".
If that doesn't work there are still many more ways to get in. Like with a bootdisk.

Mik


0

Response Number 2
Name: Jay Silverman
Date: August 24, 2001 at 06:15:27 Pacific
Reply:

Login with your emergency disks, mount the root filesystem, and edit the password file's root entry to something like:

root:0:0:The root of all evil:/:/bin/bash


0

Response Number 3
Name: nvprakash
Date: September 5, 2001 at 04:39:57 Pacific
Reply:

boot up the linux in single mode
for eg
lilo:linux single
or
lilo:linux s
so that the system goes to the single user mode
use the setpass to change the root passswd
or go to the /etc/passwd
file
and change the parameter that is listed in the row root


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







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: My root login password is lost bcoz ....

I loss my root password www.computing.net/answers/linux/i-loss-my-root-password/21042.html

Disabling root login www.computing.net/answers/linux/disabling-root-login/10383.html

LInux Login Password www.computing.net/answers/linux/linux-login-password/11798.html