PDA

View Full Version : [ubuntu] [SOLVED] What happens if you just forget your password?


upapilot
December 23rd, 2008, 05:28 AM
What happens if you forget your password to log into Ubuntu?:popcorn:

Masuran
December 23rd, 2008, 05:31 AM
You'll have to reset it using a live cd and some CLI magic. It's stupid to forget your password but unfortunately not uncommon.

tubbygweilo
December 23rd, 2008, 07:33 AM
upapilot,
It has happened to me ages ago and from what I can remember I used something along the lines of sisco311's reply in Lost my password to log on, what do i do? (http://ubuntuforums.org/showthread.php?t=863224&highlight=reset+password) but it was a long time ago. Hope it helps you.

hyper_ch
December 23rd, 2008, 08:29 AM
however if you fully encrypt your system and you forget it then, you're in trouble.

And generally: always have backups!

albinootje
December 23rd, 2008, 08:40 AM
What happens if you forget your password to log into Ubuntu?:popcorn:

Boot with the "recovery console" option.
Drop to root shell prompt (if you see that option).
Then at the # prompt type (assuming your username is upapilot) :

passwd upapilot

hit <enter> key after filling in the password,
then again to verify the password, then type :

init 2

upapilot
December 23rd, 2008, 10:40 AM
I see.....forgetting your password is still something you can save yourself from.....Thanks!

KevinHarr
December 23rd, 2008, 05:22 PM
I see.....forgetting your password is still something you can save yourself from.....Thanks!
Did you have any luck? I am in the same situation as you but only diff is I have XP on a shared drive.