sudo stopped working, but the password is right: debugging PAM account expiry
An application admin can log in with an SSH key but sudo rejects them. The cause is in PAM's account phase, not authentication — here's how to prove it and fix it properly.