You need to pull the SDCard and edit the Linux command line using another computer. That will get you a "rescue" mode. From rescue mode you can reset your password to a known value. Or boot your RPi from another SDCard, USB stick or other medium, then mount the bad system and reset your password.
Resetting password is easy from the root id.
passwd <your_user_id>
then follow the two prompts.
Alternatively try recovery.mode which I think is activated by adding systemd.debug-shell=1 to /boot/firmware/cmdline.txt.
Resetting password is easy from the root id.
passwd <your_user_id>
then follow the two prompts.
Alternatively try recovery.mode which I think is activated by adding systemd.debug-shell=1 to /boot/firmware/cmdline.txt.
Statistics: Posted by DougieLawson — Fri May 16, 2025 6:52 am