Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

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

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

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

![]() |
![]() |
![]() |

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