CentOS 7忘記root密碼解

CentOS 7的root密碼修改 開機按esc 選擇CentOS Linux (3.10.0-693.......)     按 e 鍵  方法一:光標移動到 linux 16 開頭的行,找到 ro 改爲 rw init=sysroot/bin/sh   按 Ctrl+x 執行,這裏有已經不像CentOS 6使用b啓動了。 進入後輸 chroot /sysroot 輸入 passwd    根據
相關文章
相關標籤/搜索