Friday 10 April 2009

Fingerprint on gentoo with multiple image verification

I recently installed fingerprint driver for my laptop, and i was looking to this thread on internet, with an nice how to.
But i decided to share some minor changes, its an patched version with:
"One more time" when fails finger recognition it ask you to swap the finger one more time, before telling you to write the password when fails.
It has been patched with multiple image verifications, if you have all fingers mapped, on finger scan it will check if the finger scanned is any of yours fingers. This is good because you can swap your finger in device to map it using different position, more or less velocity, .... with this method the probability of fail on verifications decreases :)


# layman -a wschlich-testing

# echo =app-misc/fprint_demo-0.4 >> /etc/portage/package.keywords
# echo =media-libs/libfprint-0.0.6 >> /etc/portage/package.keywords
# echo =sys-auth/pam_fprint-0.2 >> /etc/portage/package.keywords

# cd /usr/portage/local/layman/wschlich-testing/sys-auth/pam_fprint/
# rm Manifest
# wget http://one2one.no.sapo.pt/pam_fprint-0.2.tar.bz2 -P /usr/portage/distfiles/
# ebuild pam_fprint-0.2.ebuild manifest
# ebuild pam_fprint-0.2.ebuild digest

# cd /usr/portage/local/layman/wschlich-testing/media-libs/libfprint/
# rm Manifest
# wget http://one2one.no.sapo.pt/libfprint-0.0.6.tar.bz2 -P /usr/portage/distfiles/
# ebuild libfprint-0.0.6.ebuild manifest
# ebuild libfprint-0.0.6.ebuild digest

# emerge -av fprint_demo pam_fprint

Then start fprint_demo and enroll your finger
then add "auth sufficient pam_fprint.so" on /etc/pam.d/system-auth

after
auth required pam_env.so

and before
auth required pam_unix.so try_first_pass likeauth nullok

Thats it, have fun ... comment if worked

No comments:

Post a Comment