Computing.Net > Forums > Linux > lost root password

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.

lost root password

Reply to Message Icon

Name: sunny
Date: May 17, 2004 at 22:41:04 Pacific
OS: linux
CPU/Ram: 256MB
Comment:

some one has changed root password. i dont have any other user in my system except root.
how can i boot in a single user mode?
the problem is when i boot the system it is going to the login and iam not able to log on as i do not have the root password. so what should i do now. i think u got me.

some one said you should got to lilo prompt.
how can i get the lilo commandline and what to do . pls tell me in detail.



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: May 17, 2004 at 23:40:33 Pacific
Reply:

When you boot do you get a lilo menu? If so then instead of selecting a menu entry or letting it time out, press tab and enter the menu entry name you want followed by '1' or 'S' or 'single':

LILO: linux single

If you don't get a menu, I think you can force interactivity by pressing the alt or shift key.

When it boots in single user mode, it may still insist on the root password. If that is the case you need to go back and do the same as above but with the extra parameter 'init=/bin/bash' instead of 'single' and you may subsequently have to mount the root file system read/write: 'mount -o remount,rw /'


0
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: lost root password

Lost Root Password www.computing.net/answers/linux/lost-root-password/18889.html

fogotten root password www.computing.net/answers/linux/fogotten-root-password/609.html

root password break www.computing.net/answers/linux/root-password-break/25247.html