From the fprint homepage:
- The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices.
The idea is to use the built-in fingerprint reader in some notebooks for login using PAM. This article will also explain how to use regular password for backup login method (solely fingerprint scanner is not recommended due to numerous reasons).
Make sure you have one of the supported finger scanners. You can check if your device is supported by checking this list of supported devices. To check which one you have, type
Install the package. might also be needed.
pam_fprintd.so as sufficient to the top of the auth section of
auth sufficient pam_fprintd.so auth include system-login ...
This tries to use fingerprint login first, and if it fails or if it finds no fingerprint signatures in the give user's home directory, it proceeds to password login.
You can also modify other files in
/etc/pam.d/ in the same way, for example
/etc/pam.d/polkit-1 for GNOME polkit authentication.
Create fingeprint signature
To add a signature for a finger, run
or create a new signature for all fingers ([username] must be replaced with your username)
$ fprintd-delete [username] && fprintd-enroll -f left-thumb [username] && fprintd-enroll -f left-index-finger [username] && fprintd-enroll -f left-middle-finger [username] && fprintd-enroll -f left-ring-finger [username] && fprintd-enroll -f left-little-finger [username] && fprintd-enroll -f right-thumb [username] && fprintd-enroll -f right-index-finger [username] && fprintd-enroll -f right-middle-finger [username] && fprintd-enroll -f right-ring-finger [username] && fprintd-enroll -f right-little-finger [username]
You will be asked to scan the given finger. Swipe your right index finger five times. After that, the signature is created in
For more information, see