What if you lost your account password?
Before you destroy your linux installation check this out:
switch on your computer, and as soon as you can, strike the Esc key on your keyboard to display GRUB menu;
highlight and select the recovery mode;
your distro will boot into a recovery shell and, after you get a console prompt, type:
user@pc:~$ passwd user
where the user is your username;
choose, enter and confirm a new password when prompted;
restart your machine:
user@pc:~$ reboot
and take a deep breath.
Advertisements
when you forgot your username, first typ ls /home
Comment by maurice — April 16, 2012 @ 2:36 am |
Thanks for help. It worked fine but I was confused (and often am). The user@pc:~$ looked more like user@pc:~# on my cmd line. A newbie error but… slowed
Comment by Joe — August 16, 2012 @ 3:42 am |
Thanks, just what I needed!
Comment by pastol — November 12, 2012 @ 9:05 am |
It’s going to be ending of mine day, however before end I am reading this wonderful article to increase my know-how.
Comment by hacking software — August 7, 2013 @ 10:33 am |
Very good blog post. I definitwly appreciate this website.
Stick with it!
Comment by avengers alliance guide — September 28, 2013 @ 12:40 pm |
I just purchased a FreeGeekChicago computer and they did not give me a password. I chose the guest login and I was able to run the xubuntu system. However, when I suspended the computer and tried to come back to the system, it asked me for a password. Is there any way to log in because I never had a password
Comment by Abdul H. Muhammad — October 28, 2013 @ 10:50 pm |