How to enable fingerprint support in kde 5.24?

As I’ve been mentioned and raised a similar question before…

First I have a Lenovo Thinkpad T14 Gen 1 that needed a BIOS update in mid 2020 some weeks after it came to market.

After this fingerprint reader was detected.

Now with endeavour I installed “fprintd” and modified two files in /etc/pam.d (first two lines matter)

For fprint with sudo I have:

$ cat /etc/pam.d/sudo                                                                                                                             
#%PAM-1.0
auth                    sufficient      pam_unix.so try_first_pass likeauth nullok
auth            sufficient      pam_fprintd.so
auth            include         system-auth
account         include         system-auth
session         include         system-auth

For lockscreen unlock I have:

$ cat /etc/pam.d/kde
#%PAM-1.0
auth                    sufficient      pam_unix.so try_first_pass likeauth nullok
auth            sufficient      pam_fprintd.so
auth            include         system-login
account         include         system-login
password        include         system-login
session         include         system-login

then you’ll get the fingerprint AFTER pressing “Enter”. I tried the “aur/pam-fprint-grosshack” package that should provide Keyboard AND fprint at the same time but that didn’t work…

SDDM is being skipped with autologin on my machine as I’m the only user and the whole system is fully encrypted so asking for a login password doesn’t make sense imho.

1 Like