My Oracle Support Banner

sudo: PAM account management error: Authentication service cannot retrieve authentication info (Doc ID 2763519.1)

Last updated on MARCH 25, 2021

Applies to:

OCI Compute - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

After installing SSSD authentication on Linux VM instance, whenever you run the sudo command, it returns the following error:

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

  

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

 

Changes

In this scenario, the problem started after installing SSSD authentication:

$ yum install openldap-clients sssd sssd-client iptables-services

and executing:

$ authconfig --enablesssd --enablesssdauth --enablelocauthorize --enableldap --enableldapauth --ldapserver=ldaps://ldap.amnh.org:636 --enableldaptls --ldapbasedn=dc=amnh,dc=org --enablemkhomedir --enablecachecreds --savebackup=preldap --update

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.