Fingerprint Reader on Ubuntu
Version 0.3.0 of pam-bioapi requires you to use sqlite. Here’s how to create the database and enroll your users.
For the most part I followed the tutorial at thinkwiki.org
% wget \ http://www.nax.cz/pub/bioapi/pam_bioapi/pam-bioapi_0.3.0.tar.gz
% tar zxvf pam-bioapi_0.3.0.tar.gz
% cd pam-bioapi
% ./configure
% make
% sudo make install
% sudo echo “auth required pam_bioapi.so \
{5550454b-2054-464d-2f45-535320425350} \
/etc/bioapi/pam/bioshadow.db :0″ > \
/etc/pam.d/test-pam_bioapi
Create a database and add a table to it.
% sudo sqlite3 /etc/bioapi/pam/bioshadow.db
sqlite> CREATE TABLE biodata (id INTEGER PRIMARY KEY, \
uid INTEGER,uuid TEXT,header BLOB,data BLOB, \
signature BLOB,type INTEGER,other BLOB);[/code]
Enroll your user. Run this multiple times to additional fingerprints for your user.
% sudo ./test_enroll-pam_bioapi
