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

Solution Verified - Updated -

Issue

  • Getting an error on running sudo:
sudo: PAM account management error: Authentication service cannot retrieve authentication info
  • After patching following error is observed for sudo command for application user:
# sudo -u application_user sudo command
sudo: PAM account management error: Authentication service cannot retrieve authentication info

/var/log/secure:
Feb 13 18:53:34 hostname sudo: pam_sss(sudo:account): Access denied for user  application_user: 10 (User not known to the underlying authentication module)
Feb 13 18:53:34 hostname sudo:  application_user : PAM account management error: Authentication service cannot retrieve authentication info ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=command

Environment

  • Red Hat Enterprise Linux 7
  • sudo-1.8.23-3.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In