重置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日
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步