login password reset

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
hhhh4535
Posts: 1
Joined: Sat May 16, 2020 3:08 am

login password reset

Post by hhhh4535 »

Hello ppl,

I just tried to install my fresh diet-pi and changed the password inside the security setting befor changing my hostname at the start of setup.

It seems that my keyboard setup has changed somehow because the used passwords root+unix-user do not seem to work anymore. :cry:
There is no # on [shift]+[3]

Is there a (simple) sollution to this ? Exept reinstall?
User avatar
Joulinar
Posts: 6504
Joined: Sat Nov 16, 2019 12:49 am

Re: login password reset

Post by Joulinar »

Hi,

many thanks for your report. Are you still able to login as user dietpi? If yes you can do following

Code: Select all

sudo passwd root
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 262
Joined: Sun Mar 15, 2020 5:40 pm

Re: login password reset

Post by przemko »

Hello @Joulinar I try to delete google-authemticator and disable some entry in sshd configs. Now I cannot login. I also generate some ssh local key in snowflake ssh app. I totally mess everything. Now I cannot login. I try root and dietpi user. I connect keyboard to minipc but don't know what to do. I have terminal login prompt on TV.

Ok. I did IT. I forget there'd dietpi-dashboard. 😁
Regards.
User avatar
Joulinar
Posts: 6504
Joined: Sat Nov 16, 2019 12:49 am

Re: login password reset

Post by Joulinar »

if you see the login prompt on TV screen, you could try to login locally.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply