Smart card login problem

Support for security such as Firewalls and securing linux
Post Reply
lo1ol
Posts: 2
Joined: 2019/10/23 22:31:06

Smart card login problem

Post by lo1ol » 2019/10/23 23:02:38

Hello,

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
Also, I tried to add the same line to the smartcard-auth and fingerprint-auth file, because I noticed in syslog, that, when I login the service fingerprint is activated. it didn't help. The smart card login didn't started.

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.

lo1ol
Posts: 2
Joined: 2019/10/23 22:31:06

Re: Smart card login problem

Post by lo1ol » 2019/10/29 19:40:27

Also, I have noticed that smart card authentication is successfull in the KDE

Post Reply