/usr/share/help-langpack/hr/ubuntu-help/user-forgottenpassword.page is in language-pack-gnome-hr-base 1:12.04+20120417.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | <?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="problem" id="user-forgottenpassword" xml:lang="hr">
<info>
<link type="guide" xref="user-accounts#passwords"/>
<desc>Advanced techniques for resetting your password</desc>
<revision version="12.04" date="2012-03-22" status="outdated"/>
<credit type="author">
<name>GNOME Documentation Project</name>
<email>gnome-doc-list@gnome.org</email>
</credit>
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
</info>
<title>I forgot my password!</title>
<comment><cite date="2011-06-07">mimico</cite><p>These instructions were written and tested using gnome3 from ppa. I attempted following them on Fedora15 and locked the system out completely (had to reinstall os). There is still hope, but getting this page accurate and safe (so users don't completely lock themselves out) will be very time consuming. Perhaps distro specific pages are needed for this topic?</p></comment>
<comment><cite date="2011-04-03">shaunm</cite><p>Marking final for 3.0.
This could use some work for 3.2. There are some less drastic things.
Like if there's another admin user on your computer, have them reset
your password in the user accounts settings.</p>
<p>Also: merge two grubs instructions (almost equal), use clicky-clicky
instructions as much as possible, and let's get some real keyring docs
integrated in gnome-help then link there.</p>
</comment>
<p>
It is important to choose not only <link xref="user-goodpassword">a good
and secure password</link>, but also one that you can remember. If you have
forgotten the password to log in to your computer account, you can follow the
following steps to reset it.
</p>
<note style="important">
<p>
If you have an encrypted home directory, you will not be able to reset a
forgotten password.
</p>
</note>
<p>
If you simply want to change your password, see <link xref="user-changepassword"/>.
</p>
<links type="section"/>
<section id="reset-password-grub2"><title>Reset password using Grub</title>
<steps>
<item>
<p>
Restart your computer, and hold down <key>Shift</key> during bootup
to get into the Grub menu.
</p>
<note style="tip">
<p>
If you have a dual-boot machine and you choose at boot time which
operating system to boot into, the Grub menu should appear without the need to
hold down <key>Shift</key>.
</p>
</note>
<note>
<p>If you are unable to get into the Grub boot menu, and therefore cannot choose to boot into recovery mode, you can <link xref="user-forgottenpassword#live-cd">use a live CD to reset your user password</link>.
</p>
</note>
</item>
<item>
<p>
Press the down arrow on your keyboard to highlight the line that ends with the words 'recovery mode',
then press <key>Enter</key>.
</p>
</item>
<item>
<p>
Your computer will now begin the boot process. After a few moments, a <gui>Recovery Menu</gui> will appear.
Use your down arrow key to highlight <gui>root</gui> and press <key>Enter</key>.
</p>
</item>
<item>
<p>
At the <cmd>#</cmd> symbol, type:
</p>
<p>
<cmd>passwd <var>username</var></cmd>, where <var>username</var> is the username of the account you're changing the password for.
</p>
</item>
<item>
<p>
You will be prompted to enter a new UNIX password, and to confirm the new password.
</p>
</item>
<item>
<p>
Then type:
</p>
<p>
# <cmd>reboot</cmd>
</p>
</item>
</steps>
<p>
After you successfully log in, you will not be able to access your keyring
(since you don't remember the old password). This means that all your saved
passwords for wireless networks, jabber accounts, etc. will no longer be
accessible. You will need to <link xref="#delete-keyring">delete the old
keyring</link> and start a new one.
</p>
</section>
<section id="live-cd"><title>Reset password using a Live CD or USB</title>
<steps>
<item>
<p>
Boot the Live CD or USB.
</p>
</item>
<item>
<p>
Mount your drive.
</p>
</item>
<item>
<p>
Press <keyseq><key>Alt</key><key>F2</key></keyseq> to get the <gui>Run
Application</gui> window.
</p>
</item>
<item>
<p>
Type <cmd>gksu nautilus</cmd> to launch the file manager with system-wide privileges.
</p>
<note style="tip">
<!-- Translators: do not translate the word "home". -->
<p>
Within the drive you just mounted, you can check that it is the right
drive by clicking <gui> home </gui> and then your username.
</p>
</note>
</item>
<item>
<p>
Go to the top-level directory of the mounted drive. Then go into the <gui>etc</gui> directory.
</p>
<p>
Locate the 'shadow' file and make a backup copy:
</p>
<steps>
<item><p>
Right-click on the shadow file and select <gui>copy</gui>.
</p></item>
<item><p>
Then right-click in the empty space and select <gui>paste</gui>.
</p></item>
<item><p>
<link xref="files-rename">Rename</link> the backup "shadow.bak".
</p></item>
</steps>
</item>
<item>
<p>
Edit the original "shadow" file with a text editor.
</p>
</item>
<item>
<p>
Find your username for which you have forgotten the password. It
should look something like this (the characters after the colon will be different):
</p>
<p>
username:$1$2abCd0E or
</p>
<p>
username:$1$2abCd0E:13721a:0:99999:7:::
</p>
</item>
<item>
<p>
Delete the characters after the first colon and before the second
colon. This will remove the password for the account.
</p>
<p>
Save the file, exit out of everything and reboot your computer without
the live CD or USB.
</p>
</item>
<item>
<p>
When you boot back into your installation, click your name in the menu bar. Open <gui>My Account</gui> and reset your password.
</p>
</item>
<item>
<p>
For <gui>Current password</gui> do not enter anything, as your
current password is blank. Just click <gui>Authenticate</gui> and enter a new
password.
</p>
</item>
</steps>
<p>
After you successfully log in, you will not be able to access your keyring
(since you don't remember the old password). This means that all your saved
passwords for wireless networks, jabber accounts, etc. will no longer be
accessible. You will need to <link xref="#delete-keyring">delete the old
keyring</link> and start a new one.
</p>
</section>
<section id="delete-keyring">
<title>Get rid of the keyring</title>
<note style="warning"><p>This will delete all your saved passwords for wireless
networks, instant messaging accounts, etc. Only do this if you can't remember
the password you used for your keyring.</p></note>
<steps>
<item><p>
Go to your Home folder by typing 'home' in the <gui>dash</gui>.
</p></item>
<item><p>
Press <keyseq><key>Ctrl</key><key>h</key></keyseq> (or click
<guiseq><gui>View</gui><gui>Show Hidden Files</gui></guiseq>.)
</p></item>
<item><p>
Double click on the folder .gnome2
</p></item>
<item><p>
Double click on the folder called keyrings.
</p></item>
<item><p>
Delete any files you find in the keyrings folder.
</p></item>
<item><p>
Restart the computer.
</p></item>
</steps>
<p>
After you restart and log in you will be asked to enter your wireless networks
password.
</p>
</section>
</page>
|