I was stupid enough to leave the RP2 exposed to the internet with the default password (for the momentary sake of convenience) for a very short time and someone (I am assuming an automated scanning program) changed the password for the pi
user and now I can't log in.
Is there a way to undo it?
passwd pi
wouldn't work. At least I was able to copy everything off the disk. And then, as you recommended, I just reinstalled everything. – AngryHacker Nov 18 '18 at 02:56