Monday, February 20, 2012

How to reset centos password


CentOS Password Resetting (GRUB):

 
Step 1: The first step is to reboot your Server/PC
Step 2:  At during rebooting, you see the following screen. Press any key to hold booting
 
Step 3:  After pressing key, you get the screen. (Cause I have GRUB Password)
  Step 4: Now you press “P” for entering GRUB Password
 
Step 5: After entering GRUB Password, you get the screen, now you press “e” for edit
 Step 6: You get 3 options. You select “Kernel /vmlinez” line and press “e” again.
Step 7: you get the screen…
Step 8: On the screen you type “single” keyword with “Space” (Make sure the space before “single” keyword), don’t wary see the screen….
Step 9:  After typing “Single” keyword, you press Enter. Then you get the screen again. Now you press “b” to boot the system into single user mode.
Step 10: After complete booting you get the screen. Now you can able to change the password.
Step 11: On the screen you just type “password” keyword and press enter to type your new password.
Step 12: After changing password you just type “reboot” to reboot your system. You can login with your system with new password. .  I hope that will be fine….

No comments:

Post a Comment