特殊:Badtitle/NS100:LostPassword

来自Ubuntu中文
Oneleaf留言 | 贡献2007年11月21日 (三) 18:51的版本
跳到导航跳到搜索

{{#ifexist: :LostPassword/zh | | {{#ifexist: LostPassword/zh | | {{#ifeq: {{#titleparts:LostPassword|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:LostPassword|1|-1|}} | zh | | }}


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.
  • This will boot the system in rescue mode and you should arrive at a prompt that looks like this
root@something
  • To reset your password type this in
passwd <username>

and then enter you new password.

  • Once you are done resetting your password you can than switch back to the normal GUI mode by putting this in
init 2