WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Lost forgot Password  (Read 2953 times)

Offline _David_

  • Newbie
  • *
  • Posts: 6
Lost forgot Password
« on: September 27, 2020, 07: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: 11049
Re: Lost forgot Password
« Reply #1 on: September 28, 2020, 02:40:53 AM »
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, 06: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