Root Password can be recovered in a specialized troubleshooting mode (i.e. init 1)
*init 1 level provides a shell (i.e. sh) without logging in.
*init 1 level provides a shell (i.e. sh) without logging in.
Procedure:
1. Restart the system
2. In the splash screen Select RedHat enterprise Linux
3. Press ‘e’ to edit
4. Select Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet
5. Press ‘e’ to edit
6. Edit Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet 1
7. Press Enter
8. Press ‘b’ to boot with the selected run level
*directly you will get shell prompt to assign the root password
9. sh-3.00#passwd root
1. Restart the system
2. In the splash screen Select RedHat enterprise Linux
3. Press ‘e’ to edit
4. Select Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet
5. Press ‘e’ to edit
6. Edit Kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/rhgb quiet 1
7. Press Enter
8. Press ‘b’ to boot with the selected run level
*directly you will get shell prompt to assign the root password
9. sh-3.00#passwd root
0 comments:
Post a Comment