You are not logged in.

#1 2016-09-14 17:16:51

righN
Member
Registered: 2016-06-08
Posts: 41

Forgot password and can't change it through recovery

Hi, so I came back from holidays in England. Turned on and realised that I forgot the password. I tried to change it using "init=/bash/bin" code can be wrong but I tried it, but it didin't helped.

Offline

#2 2016-09-14 17:31:09

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Forgot password and can't change it through recovery

You can reboot, once GRUB screen pops up, hit the 'e' key. Add the 'single'  parameter to the line of parameters.. (same line as the word 'quiet' or 'splash' if you have those set)  Press enter to accept and reboot. You should be able to get in via single user mode.  Then you should boot into a recovery/rescue mode where you can use the

 passwd 

command to reset the password.

Likewise, Getting a livecd to boot from and changing the password with the passwd command should work for ya.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-09-14 17:48:07

righN
Member
Registered: 2016-06-08
Posts: 41

Re: Forgot password and can't change it through recovery

It shows that password was changed successfully but when I reboot and try to login it shows incorrect password. And I don't have Live CD.

Offline

#4 2016-09-14 17:56:57

righN
Member
Registered: 2016-06-08
Posts: 41

Re: Forgot password and can't change it through recovery

Omg, my dumb head... Everytime I tried to login in username was incorrect. Thanks for help! ?

Offline

#5 2016-09-14 18:28:00

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Forgot password and can't change it through recovery

Not sure if you want to, but lightDM offers a way to autofill the username for you, so you don't have to type and enter it in

If you edit  /etc/lightdm/lightdm.conf
as root, and change  'gtk-greeter hide user' line to 'false'. Save it, then reboot. And you should have your login name auto filled.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB