Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-4962: sudo su - fails for AD user with ERROR: sudo pam_acct_mgmt: 7

Authentication Service ,  

26 December,14 at 09:38 PM

Unable to issue the command "sudo su -"  as  AD user
After entering password at the " Enter LDAP Password" Prompt  the following error is received:
ERROR: sudo pam_acct_mgmt: 7


The sudoers file has been modified to allow the AD user or the Group the AD user belongs to access to the sudo command.

adquery group  shows the group providing access is provisioned for the zone
adquery user ADUSER -A shows the AD user is part of the Group that it providing access


In the Direct Manage Access Manager check the role assignment for the user or the group.
Verify the user or the group has the login-all right assigned to  allow all PAM access.
If only the ssh and sshd PAM rights have been allowed you will get this error.