Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 2.02 KB

fingerprint-reader.md

File metadata and controls

63 lines (48 loc) · 2.02 KB

Fingerprint Reader

Installing

Install the fprintd package:

sudo pkg install fprintd

Configuring

Once you have installed fprintd, you can set up your Login Manager, lockscreen and so on, to use it. The Arch Wiki has detailed instructions: https://wiki.archlinux.org/title/Fprint Note that on FreeBSD the etc files are in /usr/local/etc/, not in /etc.

Add the following as the first line to:

  • /usr/local/etc/pam.d/kde
  • /usr/local/etc/pam.d/sudo
auth            sufficient      pam_fprintd.so

Enrolling and testing

fprintd-enroll
fprintd-verify

Upstreaming effort

The following is no longer needed as the FreeBSD port / package has been updated to the latest version and patches were upstreamed.

Manually building forks

git clone https://gitlab.freedesktop.org/JohnAZoidberg/libfprint
cd libfprint
git checkout freebsd-usb
meson -Dudev_rules=disabled -Dudev_hwdb=disabled build
ninja -C build

git clone https://gitlab.freedesktop.org/JohnAZoidberg/fprintd
cd fprintd
git checkout freebsd
meson -Dlibsystemd=basu -Dsystemd=false -Dopenpam=true -Dpam_modules_dir=/usr/local/lib build
ninja -C build