在WINDOWS界面快捷键 Win+R并运行cmd
在cmd界面运行
Ubuntu config --default-user username
使Ubuntu以指定用户默认启动,更改密码使使默认启动用户为root
之后走再Ubuntu的Bash界面运行
passwd username
更改指定用户的密码即可。
原文:Ubuntu忘记密码
在WINDOWS界面快捷键 Win+R并运行cmd
在cmd界面运行
Ubuntu config --default-user username
使Ubuntu以指定用户默认启动,更改密码使使默认启动用户为root
之后走再Ubuntu的Bash界面运行
passwd username
更改指定用户的密码即可。
原文:Ubuntu忘记密码