Last week, I rebooted my #Debian #RPi4 server, and when it came back up, I could not longer log in, not via ssh, not with the console. The problem turned out to be that some of the files for PAM were corrupted.

Should I wipe the server and reinstall, or just fix the PAM files?

Wipe it.
Repair PAM and keep using.
Other...
Poll ends at .
@mpjgregoire if you have anything important on it 2, otherwise 1.
@mpjgregoire why are the PAM files corrupt đŸ¤®

@trevdev I haven't a clue. I don't think Debian Stable updated PAM recently, so I don't think I shut off the power while the files were being modified.

There were non-ASCII characters mixed in with the regular text of common-accounts, for instance.

@mpjgregoire hopefully there isn't a root cause with the hardware somewhere. You running an SD?

@mpjgregoire Have you done a memory test?

Or a corrupt SD card, assuming you don’t do my insanity of booting it to iSCSI!

@EdwinG @trevdev Yes, I'm running it on a micro-SD card. That could be the problem, sure. But I haven't seen anything that fails other than PAM...
@mpjgregoire @EdwinG PAM today, gone tomorrow. I kid I kid. I'd probably wipe it if the system isn't important