Eric asked in Computers & InternetSecurity · 9 years ago

I forgot my Ubuntu password and cant install updates?

I forgot my password, I'm logged in right now, because I never log out... But the update manager just popped up and my password doesn't work.

Please help

3 Answers

  • 4 years ago

    confident, that's simple. Boot with the Ubuntu CD. Then open the terminal. get rooted $ sudo su - with the aid of fact the inspiration, learn the partitions: # fdisk -l you may desire to confirm which one is your root partition from there. anticipate the inspiration is /dev/sda1 Mount it (with analyze/write attributes) # mount -o rw /dev/sda1 /mnt Chroot to it # chroot /mnt replace password for root and customer: # passwd <type password> # passwd username <type password> And Bob's the brother of your father.

Still have questions? Get your answers by asking now.