Does the server or a specific service needs to be restarted to let changes to pam files (/etc/pam.d/system-auth
) take effect?
longer version - I'm working on configuring SSSD to connect with LDAP for authentication purposes. The system is RHEL6 based and SSSD is already configured to work in the fashion in multiple other RHEL6 servers in this environment. On these other server whenever a user accesses the system it shows in /var/log/secure
similar to below for successful or failed attempts.
sshd[1489]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=ipaddress user=user
sshd[1664]: pam_sss(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=server user=user
These log messages aren't showing in /var/log/secure
and the users aren't able to login to the server. Despite this, getent passwd
and getent group
does return the expected LDAP users and groups. Everything looks fine for permissions with the certificate directory, /etc/pam.d/system-auth
and /etc/sssd/sssd.conf
.