1、点击右上角设置图标,选择“关机”,弹出的按钮选择“重启”;

Ubuntu忘记密码解决方法
Ubuntu忘记密码解决方法

2、按住shift,进入grub菜单,选择第二项“高级选项”,回车;

Ubuntu忘记密码解决方法 


3、然后移动到第二项:recovery mode 模式,按e键,进入编辑模式;

Ubuntu忘记密码解决方法 


4、一直按向下方向键,界面不动为止,找到“linux”这一行,把ro改成rw,然后ctrl+x 或者F10,进入系统;

Ubuntu忘记密码解决方法 

Ubuntu忘记密码解决方法 


5、选择 root “drop to root shell prompt” ,TAB 切换到 ok按钮,回车。或者选择后直接按回车都可以;

Ubuntu忘记密码解决方法
6、接下来就是passwd出场的时刻了。Ubuntu忘记密码解决方法

Ubuntu忘记密码解决方法

重启系统,使用新密码登录吧。 Ubuntu忘记密码解决方法



转载地址:http://bbs.51cto.com/thread-1161346-1.html


相关文章: