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


相关文章:

  • 2021-11-06
  • 2021-11-22
  • 2021-10-04
  • 2021-04-21
  • 2021-07-19
  • 2021-06-07
  • 2022-12-23
猜你喜欢
  • 2021-05-06
  • 2021-11-28
  • 2021-10-06
  • 2021-09-27
  • 2021-08-17
  • 2021-08-24
  • 2021-06-02
相关资源
相似解决方案