Fprint - ArchWiki

# Fprint

Related articles

- Fingerprint-gui
- ThinkFinger

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

## Prerequisites

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

    # lsusb

## Installation

Install fprintd from the official repositories. imagemagick might also be needed.

## Configuration

### Login configuration

Note: If you use GDM, the fingerprint-option is already available in the login menu. You can skip this section!

Add `pam_fprintd.so`, (which is provided by `fprintd`) as sufficient to the top of the auth section of `/etc/pam.d/system-local-login`:

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

    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

    $ fprintd-enroll

You will be asked to scan the given finger. After that, the signature is created in `/var/lib/fprint/`.

For more information, see `man fprintd`.

Category:

- Input devices