Friday, June 16, 2006

Linux ---How to break the root password ?

------------------------------------------------------------------------------------------------
NB:You shoud know your Grub password if Grub it is password protected
Steps ..........
------------------------------------------------------------------------------------------------

1) Select your OS from the grub interface and press 'e' to enter the edit mode
( This step works only if grub password does not set ,if password is set it
asks for password and on entering the correct password you enter
the edit mode)
2) Select the kernel command and press 'e' to edit the kernel parameters.
3) Add '1' at the end of the existing entry (1 or Single will do). 1 means enable single user mode.
4) Press 'ENTER' key and then press 'b' to boot up.
5) After boot up you get the single user command prompt.
6) Give the command 'passwd' and enter the new root password.
7) Give the command 'init 5' to change to graphics mode.


-----------------------------------------------------------------------------------------------

No comments: