在 CentOS 忘了Root密碼,該怎麼辦呢??
1.Reboot
2.當出現Grub時請按"A"
3.接著會出現"grub append> ro root=LABEL=/ "請改成:
grub append> ro root=LABEL=/ single
4.#passwd root
5.設定新密碼,reboot
文章標籤
全站熱搜
在 CentOS 忘了Root密碼,該怎麼辦呢??
1.Reboot
2.當出現Grub時請按"A"
3.接著會出現"grub append> ro root=LABEL=/ "請改成:
grub append> ro root=LABEL=/ single
4.#passwd root
5.設定新密碼,reboot