pam_unix(sshd:session): authentication failures メッセージが表示されたあとに pam_sss(sshd:auth): authentication success メッセージが表示される
Issue
- Linux サーバーに SSH ログインすると、非ローカル (IdM) ユーザーに対する pam_unix 認証失敗が表示されます。
IdM ユーザー (sssd) が ssh からログインすると、pam_unix エラーメッセージの後に pam_sss success メッセージが出力されます。以下のようなエラーが /var/log/secure ログに出力されます。
Oct 22 08:22:12 client1 sshd[3123581]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=client1.company.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.company.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.
