Answer the question
In order to leave comments, you need to log in
How to change raspberry pi password without access to it?
I forgot the password from my raspberry pi, and the only way I can connect to it is ssh (there is no hdmi monitor, and there are no drivers for the gpio screen), there is only a memory card. How do I reset or remove my raspberry password.
Answer the question
In order to leave comments, you need to log in
As an option, try this recipe:
lifehacker.com/reset-a-forgotten-raspberry-pi-pass...
(you may need a USB keyboard)
If you have ssh access to the default pi user, then you need to write "sudo su" in the terminal, this will log you in as root and write "passwd pi" there, if you write "passwd pi" from the pi user, it will ask for the old password . Under the root, he does not ask this.
Or mount sd on another computer (Linux) and in any text editor copy the hash of the known password to the desired user in the /etc/shadow file
If there is no password then SSH will not help you.
As well as the monitor in which the same console requires authorization.
- Formatting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question