Hide Forgot
See the details below, manual PAM configuration will be required in RHEL-6.8, to support the SSSD Smart Card feature. +++ This bug was initially created as a clone of Bug #1297034 +++ Description of problem: SSSD in 6.8 will have all the recent features like smart 2-factor authentication prompting and Smartcard PIN prompting. To make those features visible to the user the changes from https://bugzilla.redhat.com/show_bug.cgi?id=1204864 are needed for 6.8 as well. It would be nice if they changes can be backported to 6.8. If not the documentation has to be extended to explain how to do the changes manually. ... --- Additional comment from Martin Kosek on 2016-01-22 09:12:23 EST --- Based on the PM input and given that we are rather late in the RHEL-6 cycle, we have decided to close the request as WONTFIX. Users requiring Smart Card support in SSSD will need to manually change PAM configuration to enable it (or move to RHEL-7.2+). I will open a doc bug, to note the required PAM changes in official docs.
The auth section of the default /etc/pam.d/password-auth and /etc/pam.d/system-auth must be modified to allow SSSD to prompt for password or OTP or PIN for non-local users. Default /etc/pam.d/password-auth: ... auth required pam_env.so auth sufficient pam_unix.so nullok try_first_pass auth requisite pam_succeed_if.so uid >= 500 quiet auth sufficient pam_sss.so use_first_pass auth required pam_deny.so ... New /etc/pam.d/password-auth: ... auth required pam_env.so auth [default=1 success=ok] pam_localuser.so auth [success=done ignore=ignore default=die] pam_unix.so nullok try_first_pass auth requisite pam_succeed_if.so uid >= 500 quiet auth sufficient pam_sss.so forward_pass auth required pam_deny.so ... The same changes must be applied to /etc/pam.d/system-auth. Default /etc/pam.d/system-auth: ... auth required pam_env.so auth sufficient pam_unix.so nullok try_first_pass auth requisite pam_succeed_if.so uid >= 500 quiet auth sufficient pam_sss.so use_first_pass auth required pam_deny.so ... New /etc/pam.d/system-auth: ... auth required pam_env.so auth [default=1 success=ok] pam_localuser.so auth [success=done ignore=ignore default=die] pam_unix.so nullok try_first_pass auth requisite pam_succeed_if.so uid >= 500 quiet auth sufficient pam_sss.so forward_pass auth required pam_deny.so ...
Documented in the Identity Management Guide - "9.7.1. Configuring Smart Card Authentication on an IdM Client".