參考文章地址:www.linuxidc.com/Linux/2013-11/92236.htmlinux
1.重啓電腦shell
2.進入Grub引導頁面,選擇 Ubuntu 高級選項,回車htm
3.選擇帶有"Recover mode"的菜單,回車token
4.你將看到recover Menu的選項頁面ip
5.選擇"root drop to a root shell prompt"選項,回車rem
6.直接passwd <用戶名>,輸入新密碼以後,會提示"Authorization token manipulation error".get
請輸入"mount -o remount,rw /",進行remount,這樣以後就能夠用passwd 進行修改密碼了io