PDA

View Full Version : [ubuntu] Forgot desktop access password



dimarec
October 8th, 2008, 07:53 PM
I forgot my password and username. how can I log back into Ubuntu?

ajgreeny
October 8th, 2008, 08:26 PM
Boot into recovery mode. You can then do anything you like such as change password and username if you want to, but you can find your username by looking to see what is in the /home folder with the command
cd /home && lsThe output of that will be your username. You can now change the forgotten password to something by using
passwd usernameYou will be asked to enter the new password twice, but I think nothing will show on screen, but don't worry it will be there. Now issue the command
reboot Just make sure you remember them this time.