2013年1月21日星期一

Reset CentOS Root Password using single user mode

Reset CentOS Root Password using single user mode

1. Press any key to enter GRUB menu during start up

2. Press 'a' to modify the kernel arguments


3. Append 'single' at the end of the command, then click "Enter"


4. The system will be booted up and stop at the command prompt, type "passwd" to change a new password.


5. Finally restart the machine, you can login as root using the new password.

沒有留言:

發佈留言