Setup A Fingerprint Reader on Linux

Let’s setup the fingerprint reader in Linux so that you do not need to enter your password as often.

Step 1

Open a terminal window and type ‘lsusb’ to get the device list.

lsusb
Bash
This is my device list. The third device is my fingerprint sensor with an id of 06cd:00df.

And check here to verify if your device is listed/supported:

https://fprint.freedesktop.org/supported-devices.html

Step 2

Install the module by tying ‘sudo apt install libpam-fprintd’ in the terminal.

sudo apt install libpam-fprintd
Bash

And enable the fingerprint reader in the PAM configuration.

sudo pam-auth-update
Bash
Use the spacebar to select ‘Fingerprint authentication’ then use tab and select ‘ok’ to save.

Step 3

Enroll your fingerprints by typing ‘fprintd-enroll -f right-index-finger’ in the terminal.

fprintd-enroll -f right-index-finger
Bash

Press and remove your right index finger until enrollment is complete.

You may enroll another/different finger by modifying the ‘fprintd-enroll’ command.

fprintd-enroll -f left-thumb
fprintd-enroll -f left-index-finger
fprintd-enroll -f left-middle-finger
fprintd-enroll -f left-ring-finger
fprintd-enroll -f left-little-finger
fprintd-enroll -f right-thumb
fprintd-enroll -f right-index-finger
fprintd-enroll -f right-middle-finger
fprintd-enroll -f right-ring-finger
fprintd-enroll -f right-little-finger

To verify that it is working I locked my screen and used the fingerprint sensor to unlock my laptop.