忘记 ubuntu 密码和 root 密码了怎么重置

2015-08-29 12:41:34 +08:00
 fazero

1.用的是 zsh
2.能进入系统,因为没设开机密码
3.https://help.ubuntu.com/community/LostPassword 这里 3. Select your image.

  1. Highlight the line that begins kernel and press 'e' to edit

  2. Go to the very end of the line, change the ro to rw and add init=/bin/bash

press enter, then press b to boot your system.看得不是很懂

3825 次点击
所在节点    Ubuntu
5 条回复
jamesxu
2015-08-29 12:55:12 +08:00
就是启动的时候从 grub 进入单用户模式,再修改 root 和其他用户密码
fazero
2015-08-29 13:36:07 +08:00
@jamesxu 已解决,记录步骤下来了[解决方法]( http://www.jianshu.com/p/fc319446f5f4 )
inmyfree
2015-08-29 13:51:29 +08:00
单用户模式可以解决这个问题
loading
2015-08-29 14:10:53 +08:00
single 模式
lxx1
2015-08-30 11:29:37 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/216903

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX