Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: _David_ on September 27, 2020, 04:01:06 PM

Title: Lost forgot Password
Post by: _David_ on September 27, 2020, 04:01:06 PM
Hi sorry if someone has asked this question but i cant find anything.
I have forgot my password so now I can't SSH.
I do have access to the terminal.
Is there a way to reset or change the password? I have tried the "passwd" command.
Thanks
Kind Regards
David
 
Title: Re: Lost forgot Password
Post by: curaga on September 27, 2020, 11:40:53 PM
root can change other's passwords without knowing the previous one. If you haven't changed sudo rights, you can do "sudo passwd tc".
Title: Re: Lost forgot Password
Post by: _David_ on September 28, 2020, 03:56:49 PM
Hi thanks for that, That is what i was missing.
The problem came from the complex password requirements.
I also found this from
http://forum.tinycorelinux.net/index.php?topic=15462.0

Juanito "It doesn't actually reject the weak password, you can still use it."
and
bmarkus "Only root can set week pwd, normal user not."

So thanks everyone I can continue to love my PiCore.
Cheers
David