centos7中root密碼遺忘找不見,重設root密碼詳細過程

1、重啓系統 2、鼠標點擊該界面,並按鍵盤上e鍵 3、將光標移至最後一行 找見linux16,在段尾添加init=/bin/sh 4、按ctrl+x進入單用戶模式 輸入mount -o remount,rw / 5、重設密碼並重啓 passwd touch /.autorelabel exec /sbin/init
相關文章
相關標籤/搜索