How to Install and Uninstall pam_pkcs11.x86_64 Package on Amazon Linux 2

Last updated: July 08,2024

1. Install "pam_pkcs11.x86_64" package

Please follow the guidance below to install pam_pkcs11.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install pam_pkcs11.x86_64

2. Uninstall "pam_pkcs11.x86_64" package

In this section, we are going to explain the necessary steps to uninstall pam_pkcs11.x86_64 on Amazon Linux 2:

$ sudo yum remove pam_pkcs11.x86_64 $ sudo yum autoremove

3. Information about the pam_pkcs11.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : pam_pkcs11
Arch : x86_64
Version : 0.6.2
Release : 28.amzn2.0.1
Size : 211 k
Repo : amzn2-core/2/x86_64
Summary : PKCS #11/NSS PAM login module
URL : http://www.opensc-project.org/pam_pkcs11
License : LGPLv2+
Description : This Linux-PAM login module allows a X.509 certificate based user
: authentication. The certificate and its dedicated private key are
: thereby accessed by means of an appropriate PKCS #11 module. For
: the verification of the users' certificates, locally stored CA
: certificates as well as either online or locally accessible CRLs
: and OCSP are used. This version uses NSS to validate the
: Certificates and manage the PKCS #11 smartCards.
: Additional included pam_pkcs11 related tools
: - pkcs11_eventmgr: Generate actions on card insert/removal/timeout
: events
: - pklogin_finder: Get the loginname that maps to a certificate
: - pkcs11_inspect: Inspect the contents of a certificate