WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Lost forgot Password  (Read 1547 times)

Offline _David_

  • Newbie
  • *
  • Posts: 6
Lost forgot Password
« 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
 

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10701
Re: Lost forgot Password
« Reply #1 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".
The only barriers that can stop you are the ones you create yourself.

Offline _David_

  • Newbie
  • *
  • Posts: 6
Re: Lost forgot Password
« Reply #2 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