I've some problem with login via smart card to the system. I have some pam module which I configured and test. It works with su and sudo programs, but it doesn't work with login.
I type "autoconfig --enablesmartcard" (in GUI I didn't find how to activate smartcard login) and configured pam by adding to the top of system-auth file and now it's look like this:
Code: Select all
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth sufficient pam_pkcs11.so pkcs11_module=/usr/lib64/librtpkcs11ecp.so # here is my pam module
auth required pam_env.so
auth required pam_faildelay.so delay=2000000
Can you help me to configure smart card login in CentOS 7?
P.s. I tried smart card login in last version of GosLinux, which based on CentOs 6, and login worked. Furthermore, I have the opportunity to activate login via smart card in GUI.