重置ubuntu13.04 密码
方法如下:
-
Restart Machine
-
HOLD Shift Button ( You will get message “GRUB Loading“)
-
Select the Kernel ( Don’t select Recovery Mode)
-
Press the e key to edit the entry
-
Select the line starting with the word “linux”
-
Append the init=/bin/bash to the end of the linux line.
-
Now Press F10 to boot with provided option.
Now You need to mount File System ( / ) into Read-Write Mode
- mount -o remount,rw /
Now execute passwd command to Reset root password.
- For root User passwd
Other User passwd
写于: 2014年06月25日
更新于: 2015年03月24日