I got the following error when trying to run any command via sudo
sudo: account validation failure, is your account locked?
After trying to repair it via a LiveCD and chroot I gave up and restored the whole system from a backup (took 6h). Afterwards everything worked fine.
Now i wanted to install wireguard-tools and eopkg wanted to update another 800 packages. Upgrade broke (gtest conflicts) in the middle causing the same error.
Now I am again stuck with a system without sudo access.
I have the list of packages it (tried) to install during the update. Could it be related to PAM? I saw conflicts during the installation where the PAm package 1.5.3 Release 30 replaced my
- /usr/share/defaults/etc/pam.d/other
- /usr/share/defaults/etc/pam.d/system-auth
- /usr/share/defaults/etc/shells
Any idea on how to repair the system? I dont want to rollback to the backup...just to get a broken system after the next update/upgrade...