Help! need default passwd hash for osmc

Hey, I’ve been locked out of my pi. SSH is not responding, and my TTY login osmc/osmc does not work… I think I must have changed the password at some point and I cannot remember it.

Can someone whose login password osmc/osmc works, can you please open up /etc/passwd and copy and paste the line for the osmc user?

I will have to mount on an sd reader chroot to reset the password back to osmc…

Thanks!

$1$P.ZH6EFu$L08/1ZYI6FdHu3aw0us.u0

Sam

Thanks! Great piece of software you guys! Thanks so much!

1 Like

For future reference you could have added init=/bin/bash to the end of the command line in cmdline.txt which would have booted you directly to a root shell. From there you could have used ‘passwd osmc’ to reset the password then remove init=/bin/bash.