|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/share/pam_pkcs11/ |
Upload File : |
# Sample pkcs11_eventmgr configuration file
#
pkcs11_eventmgr {
# Run in background? Implies debug=false if true
daemon = true;
# show debug messages?
debug = false;
# polling time in seconds
polling_time = 1;
# expire time in seconds
# default = 0 ( no expire )
expire_time = 0;
# pkcs11 module to use
pkcs11_module = /usr/lib/opensc-pkcs11.so;
#
# list of events and actions
# Card inserted
event card_insert {
# what to do if an action fail?
# ignore : continue to next action
# return : end action sequence
# quit : end program
on_error = ignore ;
# You can enter several, comma-separated action entries
# they will be executed in turn
action = "play /usr/share/sounds/warning.wav",
"xscreensaver-command -deactivate";
}
# Card has been removed
event card_remove {
on_error = ignore;
action = "play /usr/share/sounds/error.wav",
"xscreensaver-command -lock";
}
# Too much time card removed
event expire_time {
on_error = ignore;
action = "/bin/false";
}
}