Tuesday 3 June 2014

Red Hat/ Linux Root Password Recovery

Forgot ROOT password !

You want to recover it?

Don't worry....

Yaah, you r at right place. Here is normal step by which u can change it.

1.Boot ur system ...

2.Then continuously press "e" key till following screen will not appear ...

3.Now there are many options ..


4.Go to that line where at last words are or something like without quote "ro root=LABEL=/ rhgb quiet"

5.Select this line and press "e" ...

6.Now delete last words which are "rhgb quiet" and type "single" ...
  ex. now ur line is like "ro root=LABEL=/ single" ...

7.Press enter ...

8.Now press "b" ...

9.Now ur system is rebooting in to single user mode in terminal mode ...















10.Now u see "sh-2.05b# or [root@localhost /]#" or some thing like that ...

11.Now type "passwd(space)root" ... **Tip Password is not shown while typing

12.U have to type new password for root and verify it. then type "reboot"

it's done ...
**Tip : It works only when your grub is not password protected.