fprintd-enroll is a command-line tool that is used to enroll fingerprints into the system’s fingerprint database. This database is used by the fprintd service, which is responsible for managing and authenticating fingerprints on a Linux system.
When you run the fprintd-enroll command, the system will prompt you to place your finger on the fingerprint sensor. The sensor will then scan your fingerprint and enroll it into the database. The process may involve multiple scans of the same finger, to ensure that the fingerprint is captured accurately.
Once the fingerprint is enrolled, it can be used to authenticate the user. For example, it can be used to log in to the system, or to unlock a locked screen.
If you encounter the below error while running the command fprintd-enroll:
fprintd-enroll: command not found
you may try installing the below package as per your choice of distribution:
Distribution | Command |
---|---|
Debian | apt-get install fprintd |
Ubuntu | apt-get install fprintd |
Arch Linux | pacman -S fprintd |
Kali Linux | apt-get install fprintd |
CentOS | yum install fprintd |
Fedora | dnf install fprintd |
Raspbian | apt-get install fprintd |
fprintd-enroll Command Examples
1. Enroll the right index finger for the current user:
# fprintd-enroll
2. Enroll a specific finger for the current user:
# fprintd-enroll --finger left-thumb|left-index-finger|left-middle-finger|left-ring-finger|left-little-finger|right-thumb|right-index-finger|right-middle-finger|right-ring-finger|right-little-finger
3. Enroll the right index finger for a specific user:
# fprintd-enroll username
4. Enroll a specific finger for a specific user:
# fprintd-enroll --finger finger_name username
5. Display help:
# fprintd-enroll --help