The aim of this short tutorial is to help you setup and Configure built-in Fingerprint Reader Login authentication on a Linux System. I tested this on My ArchLinux 64-bit Version running on HP Envy 15.
Previously i talked about
This article will also explain how to use regular password for backup login method, we wouldn't use Fingerprint scanner as main way of logging in.
If you're running Arch Linux, you can install fprintd and imagemagick
It is an open source software library designed to make it easy for application developers to add support for consumer fingerprint readers to their software.
It is a simple GTK+ application to demonstrate and test libfprint's capabilities. It is written in C.It provides access to many of the features offered by the backing library, libfprint.
It is a simple PAM module which uses libfprint's fingerprint processing and verification functionality for authentication.
You can use GUI by running
Restart your computer and see if you'll be prompted to scan your finger to unlock Login.
Previously i talked about
Easiest way to Install Nvidia 3D Graphics acceleration driver on ArchLinux
There are few packages that you'll need to install from source to get Fingerprint reader to work. I cannot guarantee that this will work for your machine since i used it on HP only; just try it out.This article will also explain how to use regular password for backup login method, we wouldn't use Fingerprint scanner as main way of logging in.
Prerequisite
- You must have gcc installed
- git
- Fingerprint scanner
Installations
> Install all of the following Packages.If you're running Arch Linux, you can install fprintd and imagemagick
pacman -S fprintd imagemagickInstall Libfprint
It is an open source software library designed to make it easy for application developers to add support for consumer fingerprint readers to their software.
git clone https://github.com/payden/libfprint.gitInstall fprint_demo
./autogen.sh
./configure --prefix=/usr
make
sudo make install
It is a simple GTK+ application to demonstrate and test libfprint's capabilities. It is written in C.It provides access to many of the features offered by the backing library, libfprint.
git clone git://github.com/dsd/fprint_demo.git
cd fprint_demo/Install pam_fprint
./autogen.sh
./configure --prefix=/usr
make
sudo make install
It is a simple PAM module which uses libfprint's fingerprint processing and verification functionality for authentication.
git clone git://github.com/dsd/pam_fprint.gitAfter successfull installation, generate Fingerprint signature, To add a signature for a finger, just run:
cd pam_fprint/
./autogen.sh
./configure --prefix=/usr
make
sudo make install
fprintd-enrollYou will be asked to scan the given finger. After that, the signature is created in
/var/lib/fprint/
. You can use GUI by running
fprint_demoYou may also use
pam_fprint_enrollSince i used fprintd, i will add its module to PAM authentication conf file,
vi /etc/pam.d/system-local-loginThe add pam_fprintd.so as sufficient to the top of the auth section
auth sufficient pam_fprintd.soSave changes and exit. See screenshot below.
Restart your computer and see if you'll be prompted to scan your finger to unlock Login.