Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pkcs11_inspect(1) [opensolaris man page]

pkcs11_inspect(1)						   User Commands						 pkcs11_inspect(1)

NAME
pkcs11_inspect - print certificate contents SYNOPSIS
/usr/lib/pam_pkcs11/pkcs11_inspect [debug] [config_file=filename] DESCRIPTION
pkcs11_inspect uses the pam_pkcs11 library infrastructure to obtain the content of a certificate and display it. pkcs11_inspect uses the same configuration file and arguments as the pam_pkcs11(5) PAM module. It loads defined mapper modules, and uses them to look into the certificate for required entries, that is, ms_mapper looks for ms UPN entries, and so forth. When a mapper module finds a proper entry in the certificate, it converts to UTF-8 and prints it to stdout. OPTIONS
The following options are supported: config_file=fileame Set the configuration file. The default value is /etc/security/pam_pkcs11/pam_pkcs11.conf. debug Enable debugging output. As it uses the same configuration file as pam_pkcs11(5), all of the pam_pkcs11 options are available. Some of these options make no sense in a non-PAM environment, and are therefore ignored. Some mapper options (mapfile, ignorecase) have no effect on certificate contents, and they are ignored as well. EXIT STATUS
The following exit values are returned: 0 Successful completion. pkcs11_inspect prints on stdout all certificate contents that are found for mappers. 1 An error occurred. EXAMPLES
Example 1 Using pkcs_inspect The following example runs the pkcs_inspect command without any options: % pkcs11_inspect Example 2 Using pkcs_inspect with Options The following example runs the pkcs_inspect command with options: % pkcs11_inspect debug config_file=${HOME}/.pam_pkcs11.conf FILES
/etc/security/pam_pkcs11/pam_pkcs11.conf AUTHORS
Juan Antonio Martinez, jonsito@teleline.es ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpampkcs11u, SUNWpamp- | | |kcs11r, SUNWpampkcs11-docs | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
pklogin_finder(1), attributes(5), pam_pkcs11(5) PAM-PKCS11 User Manual, http://www.opensc-project.org/pam_pkcs11 SunOS 5.11 16 Jul 2008 pkcs11_inspect(1)

Check Out this Related Man Page

pkcs11_eventmgr(1)						 PAM-pkcs11 tools						pkcs11_eventmgr(1)

NAME
pkcs11_eventmgr - SmartCard PKCS#11 Event Manager SYNTAX
pkcs11_eventmgr [[no]debug] [[no]daemon] [polling_time=<secs> ] [expire_time=<secs>] [pkcs11_module=<module> ] [config_file=<filename>] DESCRIPTION
card_eventmgr is a SmartCard Monitoring that listen to the status of the card reader and dispatch actions on several events. card_eventmgr can be used to several actions, like lock screen on card removal Three events are supported: card insert, card removal and timeout on removed card. Actions to take are specified in the configuration file OPTIONS
[no]debug Enable debugging output. Default is no debug [no]daemon Runs in background. If debug is unset, dettach also from tty. Default: no daemon polling_time=<secs> Set polling timeout in secs. Defaults to 1 sec expire_time=<secs> Set timeout on card removed. Defaults to 0 (never) config_file=<configuration file> Sets de configuration file. Defaults to /etc/pam_pkcs11/card_eventmgr.conf pkcs11_module=<pkcs11.so library> Sets the pkcs#11 library module to use. Defaults to /usr/lib/pkcs11/opensc-pkcs11.so FILES
/etc/pam_pkcs11/card_eventmgr.conf /usr/lib/pkcs11/opensc-pkcs11.so EXAMPLES
To run this program the standard way type: pkcs11_eventmgr Alternativly you can specify options: pkcs11_eventmgr nodebug nodaemon polling_time=5 config_file=${HOME}/.pkcs11_eventmgr.conf BUGS
Some PKCS#11 Libraries fails on card removal and re-insert. to avoid this, pkcs11_eventmgr try to re-initialize stuff by calling C_Final- ize() and C_Initialize() on card removal Some apps like [xscreensaver-command] may fail due to external events ( eg: try to unlock an unlocked session ). In this case, command incorrectly returns error code. User shoult take care on this circumstance AUTHORS
Juan Antonio Martinez <jonsito@teleline.es> SEE ALSO
pam_pkcs11(8), card_eventmgr(5) README.eventmgr PAM-PKCS11 User Manual Juan Antonio Martinez 0.4.4 pkcs11_eventmgr(1)
Man Page