个人工具
登录
查看“UbuntuHelp:LostPassword”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:LostPassword”的源代码
来自Ubuntu中文
←
UbuntuHelp:LostPassword
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/LostPassword}} {{Languages|UbuntuHelp:LostPassword}} === Lost Password? === Sometimes it is necessary to get root access, for example when you have forgotten your password or changed something in '''/etc/sudoers''' and things do not work as expected. /!\ Be careful, because this step will give you '''full root access''' to your system and you can really damage your system! Keep in mind that all the steps you see here can also be done by someone else! Now let us start with a way that should work on any freshly installed Ubuntu system: === The Standard Way === /!\ This procedure gives you a '''full root shell'''! You can damage your system if you are not careful! # When booting up press '''ESC''' at the grub prompt and use the arrow keys to select the rescue mode option and press '''enter'''. 2. This will boot the system in rescue mode and you should arrive at a prompt that looks like this <pre><nowiki> root@something </nowiki></pre> 3. To reset your password type this in <pre><nowiki> passwd <username> </nowiki></pre> and then enter you new password. 4. Once you are done resetting your password you can than switch back to the normal GUI mode by putting this in <pre><nowiki> init 2 </nowiki></pre> ---- [[category:CategorySecurity]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:LostPassword
。