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.

留言

此網誌的熱門文章

香港行車隧道收費表

麥當勞開心樂園餐玩具 The Toys of McDonalds' Happy Meal List

Gordian knot 哥帝安繩結 - 難解的結