重置ubuntu13.04 密码

方法如下:

  1. Restart Machine

  2. HOLD Shift Button ( You will get message “GRUB Loading“)

  1. Select the Kernel ( Don’t select Recovery Mode)

  2. Press the e key to edit the entry

  3. Select the line starting with the word “linux”

  4. Append the init=/bin/bash to the end of the linux line.

  5. Now Press F10 to boot with provided option.

Now You need to mount File System ( / ) into Read-Write Mode

  1. mount -o remount,rw /

Now execute passwd command to Reset root password.

  1. For root User passwd

Other User passwd

写于: 2014年06月25日
更新于: 2015年03月24日

posted @ 2015-03-24 12:05  武汉-磨渣  阅读(74)  评论(0编辑  收藏  举报