Among these, failure to recognize the password on the first boot or shortly after, as well as after ins. Sometimes, this happens at the first login: other times, after working fine with autologin for a while and the Pi asks again for credentials but won’t recognize the password. If you happen to type it incorrectly, it will warn you. But if it fails to recognize it, it will just freeze.

What to do if the Raspberry Pi password is not working?

1. Modify the password file for new OS image

Then put the card into the PC again and delete the init=/bin/sh combination you added. Save the changes and insert the card into the Raspberry Pi. You should be able to use the new password.

2. Modify the password file for NOOBs

You should be able to log in with the new password. Then do the process backward, to delete the init=/bin/sh line.

How to change the password after installing TightVNC server

Users sometimes encountered a login issue after installing a VNC server. The Pi boots, the user can log in via SSH, but then another login window pops up, where the Pi won’t accept the default credentials. The tested solution is to go to the home directory, look for a file called .Xauthority and change the owner using the following command: chown pi:pi /home/pi/.Xauthority

What I should also pay attention to?

We hope you found this guide helpful. If you did, or if you have any suggestions, don’t hesitate to use the comment section below.

Name * Email * Commenting as . Not you? Save information for future comments
Comment

Δ