pklogin_finder(1)

pklogin_finder1

Maps certificates into a user

Usage

pklogin_finder [debug] [config_file=<filename>]

Overview

pklogin_finder uses the pam_pkcs11 library infrastructure to interactively map a PKCS#11 provided certificate to a user.

pklogin_finder uses the the same configuration file and arguments than pam_pkcs11(8) PAM module. Load defined mapper modules, and try to find a map between found certificates and a user login.

Options

debug

Enable debugging output. Default is no debug.

config_file=<configuration file>

Sets the configuration file to use. Default value is /etc/pam_pkcs11/pam_pkcs11.conf.

As it uses the same configuration file than pam_pkcs11, all pam_pkcs11 options are also available. Note that some of them has no sense in a non-PAM environment, so they will be ignored.

Return value

On success pklogin_finder prints on stdout the login name and exits returns 0.

On user mapping error it returns 1.

On no user match it prints nothing and returns 2.

Files

/etc/pam_pkcs11/pam_pkcs11.conf

Examples

To run this program the standard way, insert a smart card into the reader and type:
pklogin_finder

Alternatively you can specify options:
pklogin_finder debug config_file=${HOME}/.pam_pkcs11.conf

Releases

Unchanged in 9 releases since Debian 5.0 (Lenny).

  1. 5.0–13

Authors

Juan Antonio Martinez <[email protected]>

From libpam-pkcs11 0.6.13-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.