Receiving pam_unix(sshd:session): authentication failures, then pam_sss(sshd:auth): authentication success
Issue
- SSH Login to linux servers shows pam_unix authentication failure for non-local (IdM) users
If an IdM user (sssd) tries to login via ssh first you get pam_unix error then pam_sss success, errors like this are seen in /var/log/secure log :
Oct 22 08:22:12 client1 sshd[3123581]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=client1.example.com user=user22
Oct 22 08:22:13 client1 sshd[3123581]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=client1.example.com user=user22
Environment
- Red Hat Enterprise Linux (RHEL) 6
- IdM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
