Page 1 of 1

SSH Password Resetting

Posted: Sun May 23, 2021 4:54 am
by MisterGlock
Anyone able to provide any insight as to why my ssh password isn’t sticking? I changed it but every time I run the full update script, it reverts back to factory. Thanks everyone. Appreciate the help!!

Re: SSH Password Resetting

Posted: Mon May 24, 2021 7:27 pm
by Mellified
After you change the password run

Code: Select all

sync
to flush the root partition data to the microSD card.

Re: SSH Password Resetting

Posted: Tue May 25, 2021 1:41 am
by pgimeno
Maybe the full update script is updating Linux and /etc/shadow is rewritten.

If that's the case, perhaps you can modify the script so it places the line back.

Re: SSH Password Resetting

Posted: Wed May 26, 2021 12:34 am
by MisterGlock
This looks like it worked for me. Thank you!!