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 Arch Linux 64-bit Version running on HP Envy 15.

Previously I talked about

Easiest way to Install Nvidia 3D Graphics acceleration driver on Arch Linux

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 on 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.


  1. You must have gcc installed
  2. git
  3. Fingerprint scanner


Install all of the following Packages. If you’re running Arch Linux, you can install fprintd and imagemagick

sudo pacman -S fprintd imagemagick

Install 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
./configure --prefix=/usr
sudo make install

Install  fprint_demo

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://
cd fprint_demo/
./configure --prefix=/usr
sudo make install

Install pam_fprint

It is a simple PAM module which uses libfprint’s fingerprint processing and verification functionality for authentication.

git clone git:// 
cd pam_fprint/
./configure --prefix=/usr
sudo make install

After successfull installation, generate Fingerprint signature, To add a signature for a finger, just run:

$ fprintd-enroll

You 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_demo

You may also use


Since i used fprintd, i will add its module to PAM authentication conf file,

nano /etc/pam.d/system-local-login

The add as sufficient to the top of the auth section

auth sufficient

Save changes and exit. See screenshot below.

make sufficient login

Restart your computer and see if you’ll be prompted to scan your finger to unlock Login.

sudo reboot

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here