Install the fprintd package:
sudo pkg install fprintd
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
fprintd-enroll
fprintd-verify
The following is no longer needed as the FreeBSD port / package has been updated to the latest version and patches were upstreamed.
- freebsd-ports
- libfprint
- fprintd
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