特殊:Badtitle/NS100:LostPassword:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第16行: | 第16行: | ||
<pre><nowiki> | <pre><nowiki> | ||
passwd <username> | passwd <username> | ||
</nowiki></pre> | </nowiki></pre> | ||
and then enter you new password. | 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 | 4. Once you are done resetting your password you can than switch back to the normal GUI mode by putting this in | ||
<pre><nowiki> | <pre><nowiki> | ||
init 2 | init 2 | ||
</nowiki></pre> | </nowiki></pre> | ||
---- | ---- | ||
[[category:CategorySecurity]] | [[category:CategorySecurity]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年12月6日 (四) 10:41的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/LostPassword }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/af | • {{#if: UbuntuHelp:LostPassword|Afrikaans| [[::LostPassword/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ar | • {{#if: UbuntuHelp:LostPassword|العربية| [[::LostPassword/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/az | • {{#if: UbuntuHelp:LostPassword|azərbaycanca| [[::LostPassword/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/bcc | • {{#if: UbuntuHelp:LostPassword|جهلسری بلوچی| [[::LostPassword/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/bg | • {{#if: UbuntuHelp:LostPassword|български| [[::LostPassword/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/br | • {{#if: UbuntuHelp:LostPassword|brezhoneg| [[::LostPassword/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ca | • {{#if: UbuntuHelp:LostPassword|català| [[::LostPassword/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/cs | • {{#if: UbuntuHelp:LostPassword|čeština| [[::LostPassword/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/de | • {{#if: UbuntuHelp:LostPassword|Deutsch| [[::LostPassword/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/el | • {{#if: UbuntuHelp:LostPassword|Ελληνικά| [[::LostPassword/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/es | • {{#if: UbuntuHelp:LostPassword|español| [[::LostPassword/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/fa | • {{#if: UbuntuHelp:LostPassword|فارسی| [[::LostPassword/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/fi | • {{#if: UbuntuHelp:LostPassword|suomi| [[::LostPassword/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/fr | • {{#if: UbuntuHelp:LostPassword|français| [[::LostPassword/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/gu | • {{#if: UbuntuHelp:LostPassword|ગુજરાતી| [[::LostPassword/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/he | • {{#if: UbuntuHelp:LostPassword|עברית| [[::LostPassword/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/hu | • {{#if: UbuntuHelp:LostPassword|magyar| [[::LostPassword/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/id | • {{#if: UbuntuHelp:LostPassword|Bahasa Indonesia| [[::LostPassword/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/it | • {{#if: UbuntuHelp:LostPassword|italiano| [[::LostPassword/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ja | • {{#if: UbuntuHelp:LostPassword|日本語| [[::LostPassword/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ko | • {{#if: UbuntuHelp:LostPassword|한국어| [[::LostPassword/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ksh | • {{#if: UbuntuHelp:LostPassword|Ripoarisch| [[::LostPassword/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/mr | • {{#if: UbuntuHelp:LostPassword|मराठी| [[::LostPassword/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ms | • {{#if: UbuntuHelp:LostPassword|Bahasa Melayu| [[::LostPassword/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/nl | • {{#if: UbuntuHelp:LostPassword|Nederlands| [[::LostPassword/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/no | • {{#if: UbuntuHelp:LostPassword|norsk| [[::LostPassword/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/oc | • {{#if: UbuntuHelp:LostPassword|occitan| [[::LostPassword/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/pl | • {{#if: UbuntuHelp:LostPassword|polski| [[::LostPassword/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/pt | • {{#if: UbuntuHelp:LostPassword|português| [[::LostPassword/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ro | • {{#if: UbuntuHelp:LostPassword|română| [[::LostPassword/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/ru | • {{#if: UbuntuHelp:LostPassword|русский| [[::LostPassword/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/si | • {{#if: UbuntuHelp:LostPassword|සිංහල| [[::LostPassword/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/sq | • {{#if: UbuntuHelp:LostPassword|shqip| [[::LostPassword/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/sr | • {{#if: UbuntuHelp:LostPassword|српски / srpski| [[::LostPassword/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/sv | • {{#if: UbuntuHelp:LostPassword|svenska| [[::LostPassword/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/th | • {{#if: UbuntuHelp:LostPassword|ไทย| [[::LostPassword/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/tr | • {{#if: UbuntuHelp:LostPassword|Türkçe| [[::LostPassword/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/vi | • {{#if: UbuntuHelp:LostPassword|Tiếng Việt| [[::LostPassword/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/yue | • {{#if: UbuntuHelp:LostPassword|粵語| [[::LostPassword/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/zh | • {{#if: UbuntuHelp:LostPassword|中文| [[::LostPassword/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/zh-hans | • {{#if: UbuntuHelp:LostPassword|中文(简体)| [[::LostPassword/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LostPassword | UbuntuHelp:LostPassword | {{#if: | :}}LostPassword}}/zh-hant | • {{#if: UbuntuHelp:LostPassword|中文(繁體)| [[::LostPassword/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:LostPassword|:LostPassword|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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.
2. This will boot the system in rescue mode and you should arrive at a prompt that looks like this
root@something
3. To reset your password type this in
passwd <username>
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
init 2