forgot root password
I have forgot my root password. Suggest me how can I retrieve this password. If it is not possible then suggest me how can I retrieve all my data.
|
If I can recall correctly rebuilding your pc - when you are setting up your partitions - gives you the option to use the existing home directory.
|
What do you use as boot manager, is it grub or lilo.
First consider lilo... 1. When lilo shows the graphical screen, press Ctrl+x, and go to terminal mode. 2. Enter linux S, where linux is the label 3. You will be booted into single user mode now. Type passwd and type in your new root password. Now, we shall see grub... 1. When grub shows the graphical boot, press the option to edit( I think it is 'e') 2. In the second line of the three lines, add "init 1" at the END.(At the end of the line, append init 1. If you add it somewhere else, the system won't boot) 3. You are booted into single user mode. Change the password. That's all folks! |
will it work on grub which is password protected ,
or is there any other way :) |
All times are GMT -5. The time now is 05:07 AM. |