linux系統root密碼忘記了怎麼辦

本文檔介紹破解 RHEL7.3 的 root 密碼的高效方法,其實這也叫做重置密碼。

實戰

開機,按任意鍵停住啓動界面,然後選擇對應的內核,按 e 進行編輯

破解 RHEL7.3 的 root 密碼破解 RHEL7.3 的 root 密碼

找到linux16這一行,在最後輸入 rd.break

破解 RHEL7.3 的 root 密碼破解 RHEL7.3 的 root 密碼

按 Ctrl-x 啓動,然後按照以下操作破解 root 密碼

mount -o remount,rw /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
reboot

破解 RHEL7.3 的 root 密碼破解 RHEL7.3 的 root 密碼

總結

以上就是破解 RHEL7.3 的 root 密碼的詳細過程,這些操作望各位謹慎操作。

本文原創地址:https://www.linuxprobe.com/crack-root-password.html編輯:傳棋,審覈員:逄增寶


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章