睡个懒觉 發表於 2024-3-17 00:00:00

重新设置Ubuntu登录密码的方法教程

<p>
        刚接触Ubuntu的朋友,有时候忘记自己设置登录密码了,不知道怎么重新设置,今天就教大家如何通过Recovery Mode来重新设置Ubuntu的帐户密码。</p>
<p>
        1、我们在给电脑开机的时候,会进入开机引导的一个GRUB界面,GRUB loading, please wait,运行的这里需要按下ESC键来进入启动菜单。</p>
<p align="center">
        <img style="max-width:100%!important;height:auto!important;"title="重新设置Ubuntu登录密码的方法教程" alt="重新设置Ubuntu登录密码的方法教程" align="" src="https://zhuji.jb51.net/uploads/img/202305/b7afbe54ebe32c946912a25cb876d77d.jpg"></p>
<p>
        2、按下ESC键进入菜单后,就可以选择对Recovery Mode。</p>
<p align="center">
        <img style="max-width:100%!important;height:auto!important;"title="重新设置Ubuntu登录密码的方法教程" alt="重新设置Ubuntu登录密码的方法教程" align="" src="https://zhuji.jb51.net/uploads/img/202305/8d79d1a96aef6b6b24c93f4881b3c105.jpg"></p>
<p>
        3、当引导进入到Recovery Menu时,选root Drop to root shell prompt。</p>
<p align="center">
        <img style="max-width:100%!important;height:auto!important;"title="重新设置Ubuntu登录密码的方法教程" alt="重新设置Ubuntu登录密码的方法教程" align="" src="https://zhuji.jb51.net/uploads/img/202305/98a8d8ba314ac2948bb6483ab8a5d49c.jpg"></p>
<p>
        4、这时自动以root用户登录,passwd命令重设密码,如果我的账号是xxxxxx,那么要重新设置的密码命令则是:$passwd xxxxx</p>
頁: [1]
查看完整版本: 重新设置Ubuntu登录密码的方法教程