I have a pi with Debian 7 which I have had working a while age. I now I find I can't log on. I am not sure if I changed password, but don't think I did. Can I reset password without loging in?

1 Answer 1


Use another linux box where you have root, insert SD card and change /etc/passwd and/or /etc/shadow to whatever you like, like empty password or known password hash from another computer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.