Wednesday, August 31, 2011

Reset the root password in Linux Systems.

1) When it shows the two Os (Windows, Red hat), highlight the red hat option and Press ‘e’.
2) This will show two or three options; in these one of the options will have ‘kernel’ word. Highlight that option and press ‘e’.
3) This will show the grub command line, in that line shown press a space and type ‘1’(no single quotes) to login into the single user mode and press Enter.
4) Linux will start to load and it will show # prompt.
5) Now type ‘passwd’, this will prompt for the new password.
6) Type the new password, once again it will ask for retype, retype once again and press enter.
7) Type exit to quit the prompt and linux will start to load.
8) Now you can login into the root user with your changed password.

No comments:

Your Ad Here