I have reinstalled F41-Sway after running an amalgam of KDE, Sway and leftover gnome apps for 6 months. In that period, I managed to get fingerprint auth to work by tinkering with one of the files in /etc/pam.d (something similar to this)
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_fprintd.so
Are there resources explaining how to setup fprintd for pam on fedora (F40, F41) specifically?
Which files should I add lines similar to the above in?
My goal is to use fingerprint auth for sudo, swaylock and LightDM / SDDM.
I have enabled with-fingerprint
using authselect
, and the output of authselect test local with-fingerprint
seems to indicate so. (doesnt seem to be doing much since I am using LightDM as a greeter)
I am happy to add logs, command outputs or change the topic to become better.
Contents of /etc/pam.d/
total 156
drwxr-xr-x. 1 root root 634 Jan 8 00:30 .
drwxr-xr-x. 1 root root 4670 Jan 8 00:12 ..
-rw-r--r--. 1 root root 272 Aug 8 02:00 atd
-rw-r--r--. 1 root root 192 Jul 20 02:00 chfn
-rw-r--r--. 1 root root 192 Jul 20 02:00 chsh
-rw-r--r--. 1 root root 232 Nov 25 01:00 config-util
-rw-r--r--. 1 root root 322 Feb 15 2019 crond
-r--r--r--. 1 root root 134 Dec 6 01:00 cups
lrwxrwxrwx. 1 root root 32 Jan 8 00:12 fingerprint-auth -> /etc/authselect/fingerprint-auth
-rw-r--r--. 1 root root 127 Jul 18 02:00 hddtemp
-rw-r--r--. 1 root root 280 Jan 3 2024 initial-setup
-rw-r--r--. 1 root root 925 Jul 18 02:00 lightdm
-rw-r--r--. 1 root root 660 Jul 18 02:00 lightdm-autologin
-rw-r--r--. 1 root root 409 Jul 18 2022 lightdm-greeter
-rw-r--r--. 1 root root 676 Jul 20 02:00 login
-rw-r--r--. 1 root root 154 Nov 25 01:00 other
-rw-r--r--. 1 root root 168 Oct 10 02:00 passwd
lrwxrwxrwx. 1 root root 29 Jan 8 00:12 password-auth -> /etc/authselect/password-auth
-rw-r--r--. 1 root root 510 Apr 11 2024 pluto
lrwxrwxrwx. 1 root root 25 Jan 8 00:12 postlogin -> /etc/authselect/postlogin
-rw-r--r--. 1 root root 144 Jul 19 02:00 ppp
-rw-r--r--. 1 root root 640 Jul 20 02:00 remote
-rw-r--r--. 1 root root 143 Jul 20 02:00 runuser
-rw-r--r--. 1 root root 138 Jul 20 02:00 runuser-l
-rw-r--r--. 1 root root 923 Oct 15 02:00 sddm
-rw-r--r--. 1 root root 668 Oct 15 02:00 sddm-autologin
-rw-r--r--. 1 root root 397 Oct 15 02:00 sddm-greeter
lrwxrwxrwx. 1 root root 30 Jan 8 00:12 smartcard-auth -> /etc/authselect/smartcard-auth
-rw-r--r--. 1 root root 727 Oct 16 02:00 sshd
-rw-r--r--. 1 root root 214 Dec 10 01:00 sssd-shadowutils
-rw-r--r--. 1 root root 540 Jul 20 02:00 su
-rw-r--r--. 1 root root 238 Jul 20 02:00 sudo
-rw-r--r--. 1 root root 178 Jul 20 02:00 sudo-i
-rw-r--r--. 1 root root 137 Jul 20 02:00 su-l
-rw-r--r--. 1 root root 161 Aug 23 22:39 swaylock
lrwxrwxrwx. 1 root root 27 Jan 8 00:12 system-auth -> /etc/authselect/system-auth
-rw-r--r--. 1 root root 84 Jul 18 02:00 vlock
-rw-r--r--. 1 root root 159 Jul 18 02:00 vmtoolsd
-rw-r--r--. 1 root root 356 Jan 8 00:30 wl-copy
-rw-r--r--. 1 root root 61 Mar 20 2023 xfce4-screensaver
-rw-r--r--. 1 root root 128 Dec 20 01:00 xserver