作業系統 Ubuntu 22.04.3,忘記密碼處理。
- 開機時,按住「Shift」鍵,進入 GRUB 開機選單
- 按「e」鍵,編輯開機設定
如下圖,找到「 linux ....」開頭那一行,修改裡面的「ro」
改成「rw init=/bin/bash」 - 按「F10」鍵,用剛剛修改的設定開機,便可用 root 身分進入系統修改密碼
修改密碼時,如果出現 authentication manipulation error 錯誤,可能是 ro 沒改成 rw,導致無法寫入新密碼
參考:
- https://blog.csdn.net/m0_65514616/article/details/128942600
使用ubuntu时忘记root密码,重置详细步骤:_ubuntu重置root密码-CSDN博客 - https://askubuntu.com/questions/57620/getting-an-authentication-token-manipulation-error-when-trying-to-change-my-us
Getting an "Authentication token manipulation" error when trying to change my user password - Ask Ubuntu




沒有留言:
張貼留言