1

I ran a sudo apt upgrade, rebooted, and now I can't log in.

The odd thing is this... when I provide known invalid credentials the login dialog reports 'Incorrect password' in a red block, like so:

enter image description here

... but when I enter my known correct credentials the dialog disappears entirely for a moment and then returns with the password field empty (no red block).

Unfortunately I didn't enable SSH on this one, and have been connecting solely via VNC (lesson learned).

FYI the RPi is local, on the same LAN—if that helps.

Am I out of luck? Will I have to reinstall from scratch? (I sure hope not.)

InteXX
  • 145
  • 3
  • 10

1 Answers1

2

You can boot to a root shell and reset password See https://raspberrypi.stackexchange.com/a/123850/8697.

Upgrade SHOULD NOT change password; ideally you should backup BEFORE upgrade.

This requires that you modify cmdline.txt - which can be done on any computer (even a Pi with a fresh OS).

Milliways
  • 62,573
  • 32
  • 113
  • 225