pam_pkcs11(8)
π pam_pkcs11(8) π
okay bestie, welcome to the pam_pkcs11 page β the System Administration tools manual, section 8, and no cap it's a good one. sit down, grab a π, let's get into it.
β¨ NAME β¨
pam_pkcs11 β the PAM Authentication Module for PKCS#11 token libraries. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
pam_pkcs11.so [debug] [configfile=<configfile>]
π¦ DESCRIPTION π¦
so this Linux-PAM login module lets a user log in based on an X.509 certificate. iconic behavior, honestly. π₯
the way it works: the certificate and its dedicated private key get accessed by means of an appropriate PKCS #11 module. and for verifying the users' certificates, it uses locally stored CA certificates plus either online or locally accessible CRLs. so many acronyms, but she handles it. π
π CONFIGURATION π
the program that needs a PAM service should be configured in /etc/pam.conf or /etc/pam.d/<servicename>. (yes, <servicename> is a placeholder β swap in your actual service name, bestie, don't type it literally π)
pam_pkcs11 can be used in the <auth> PAM chain. β¨
for the details on how to configure PAM services, go look at the PAM documentation for your system β this manual does not cover PAM configuration details, periodt. the existing PAM service definitions for other applications on your system are also a really good source for examples on how to configure a PAM service. go read those, they ate. π
π FILES π
/etc/pam_pkcs11/pam_pkcs11.conf/usr/lib/pam_pkcs11/*_mapper.so
π AUTHOR π
the original PAM-pkcs11 was written by Mario Strasser <mast@gmx.net>. newer versions are from Juan Antonio Martinez <jonsito@teleline.es>. absolute main characters, both of them. π
π«Ά REPORTING BUGS π«Ά
got bugs, ideas, comments, bug-fixes and so on? send them all to: Juan Antonio Martinez <jonsito@teleline.es>. he wants to hear it fr fr, don't be shy. π
π SEE ALSO π
pam(8)pam_pkcs11.conf(5)- PAM Systems Administrator Guide
- README.mappers file
- PAM-PKCS#11 User Manual
and that's the page, babe. this one was dated 15-Feb-2005 and written by Mario Strasser, and yeah we're still out here running pam_pkcs11(8) all these years later. lowkey iconic. bye bestie, go log in securely πβ¨π¦
π¦ where this page comes from
- debian bookworm: libpam-pkcs11 0.6.12-1+deb12u1
- debian trixie: libpam-pkcs11 0.6.13-1
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu jammy: libpam-pkcs11 0.6.11-4build2
- ubuntu jammy: libpam-pkcs11 0.6.11-4ubuntu0.1
- ubuntu noble: libpam-pkcs11 0.6.12-2build3
- ubuntu noble: libpam-pkcs11 0.6.12-2ubuntu0.24.04.1
- ubuntu questing: libpam-pkcs11 0.6.13-1
- ubuntu resolute: libpam-pkcs11 0.6.13-1build1
- ubuntu stonking: libpam-pkcs11 0.6.13-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms