<div dir="ltr"><div>I was pretty amazed when someone brought this up and a solution exists. The way I was taught is that if you lose your password you're done.</div><div><br></div><div>Just use GRUB to boot into single user mode / recovery mode.</div><div><br></div><div>(1) At grub boot screen (after restart)</div><div>(2) Select the kernel</div><div>(3) Press the 'e' key to edit the entry</div><div>(4) Select line starting with the word 'kernel' or 'linux'</div><div>(5) Append the letter 'S' (or word 'Single') to the end of the line</div><div>(5) Append 'init=/bin/sh' to that line also</div><div>(6) press cntrl-X</div><div>(7) mount the root filesystem if it isn't already done for you</div><div>(8) type 'passwd <enter>' to reset the root password </div><div>(8) type 'passwd <user> <enter>' to reset user's password.</div><div><br></div><div><a href="http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/">http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/</a></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>