ubuntu22.04忘记密码
时间: 2023-09-11 09:03:23 浏览: 163
Aseprite-v1.2.40-ubuntu22.04
如果你在Ubuntu 22.04系统中忘记了密码,有几种方法可以重置密码。首先,你可以通过使用命令行窗口来重置密码。打开CMD命令行窗口,执行"ubuntu2204 config --default-user root"来登录到Ubuntu 22.04子系统,并将默认登录用户设置为root用户。然后,使用"passwd username"命令来为你的用户名重置密码。重置密码后,你可以使用"ubuntu2204 config --default-user username"命令来将默认登录用户重置为你的用户名。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [WSL 下 Ubuntu22.04 忘记密码的解决办法](https://blog.csdn.net/cpp1997/article/details/128558376)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [ubuntu 22.04 忘记root密码解决方案](https://blog.csdn.net/pkowner/article/details/129723065)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文