I hope David didn't laugh maniacally when he told you of the update.
This is a way to reset your password when it appears all hope is lost.
Boot up the machine with a LiveCD installation of Navigatrix.
Open the File Manager and mount the partion that contains the
root of the system on the hard drive by clicking on the partitions list in the left panel.
Attachment:
Mount-ID-root.png [ 83.16 KiB | Viewed 20099 times ]
It will look similar to this
Attachment:
Mount--root.png [ 100.29 KiB | Viewed 20099 times ]
Now, execute
df -h in a terminal
Attachment:
Mount-found-root.png [ 44.37 KiB | Viewed 20099 times ]
Note the
/dev location (sda1, sda3, sdb2, whatever).
Place that information in the command
sudo mount /dev/sd{whatever} /mntQuote:
sudo mount /dev/sda1 /mnt
After success, (because you have matched the proper partition) enter
Code:
sudo chroot /mnt
to change over to the new mounted root filesystem.
Enter the command to change the password of your
userid (whatever it was. My userid conveniently is
moe , you remember yours).
Quote:
passwd moe
I'm asked to enter a password twice. Keep it simple. (It's this easy to bypass when one has physical access.)
The whole process looks like
Quote:
nx@nx:~$ sudo mount /dev/sda1 /mnt
nx@nx:~$ sudo chroot /mnt
root@nx:/# passwd moe
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@nx:/#
Quit and reboot, removing the USB at the proper time.
Code:
exit
Code:
sudo reboot
Now you will have
your password to execute all the sudo commands.
((yes, one step can be removed from this process, but it takes longer to explain the shortcut))