Computer Tips - sudo: PAM account management error: Authentication service cannot retrieve authentication info

Date: 2020jan23 OS: Linux Q. sudo: PAM account management error: Authentication service cannot retrieve authentication info A. This happened when I had the user in /etc/passwd, /etc/group, /etc/sudoers.d/<somefile>.conf but not in /etc/shadow Adding the user to /etc/shadow fixed the problem.