pam_bsdbioapi – (BSD) PAM Module to BioAPIThe (BSD) BioAPI service module for PAM provides authentication management. Apart from the PAM module itself the pam_bsdbioapi package consists of libbirdb and bbdm. libbirdbThis is a library that provides module independat storage of BIR entries.
See libbirdb(3) for more information. bbdmbbdm (BioAPI BIR Database Management) is a account management utility which See bbdm(1) for more information. pam_bsdbioapiThe PAM module itself. More information is avaiable from pam_bsdbioapi(8) Obtaining pam_bsdbioapi
Release history
Requirements
Configuration and usagelibbirdb configurationYou will need to create a configuration file for libbirdb which lists This is an example of /usr/local/etc/birdb.conf
#
# Filebacked database module, entries are stored in a per BSP b-tree.
# Takes one argument wich is the path where the databases are stored.
#
filedb = {
path = "/usr/local/share/birdb/birdb_filedb.so"
arg = "/var/db/bioapi/bir"
}
#
# MySQL backend. Entries are stored in an mysql database.
# Arguments
# host[:port] user[:password] [database:table]
# where the default database and table is bioapi:bir
# You must create the database structure first using the
# supplied SQL file.
#
#mysql {
# path = "/usr/local/share/birdb/birdb_mysql.so"
# arg = "localhost"
# arg = "bioapi:ipaoid"
#}
#
# Store BIRs in plain text files.
# NOT RECOMMENDED, only avaiable for backward compability with
# previous versions of pam_bsdbioapi.
#
plain = {
path = "/usr/local/share/birdb/birdb_plain.so"
arg = "/var/db/bioapi/bir"
}
If you want to use the MySQL backend you must create the database and PAM configurationThis is an example configuration of /etc/pam.d/system which uses the “BioAPI v1.1 Dummy BSP” (UUID {ffffffff-ffff-ffff-ffff-ffffffffffff}) as biometric backend and “filedb” as the birdb backend If the BioAPI authentication will fail it will fall back to the standard UNIX authenication module. auth sufficient pam_bsdbioapi.so {ffffffff-ffff-ffff-ffff-ffffffffffff} filedb
auth required pam_unix.so no_warn try_first_pass nullok
If you want to force BioAPI authentication you can change “sufficient” to “required”. If you want the ability to enroll new users and let the user create new records you will need to configure the “password” service aswell. password required pam_bsdbioapi.so {ffffffff-ffff-ffff-ffff-ffffffffffff} filedb
BioAPI GUI callbacksSome BSPs support BioAPI GUI message callback. A message file can be specified with -m /path/to/file auth sufficient pam_bsdbioapi.so {ffffffff-ffff-ffff-ffff-ffffffffffff} filedb -m /usr/local/share/pam_bsdbioapi/mymsg.cmsg
See also |
Entries (RSS)