You are not logged in.

#1 2023-05-23 19:23:52

virgula0
Member
Registered: 2023-05-23
Posts: 1

Setting both fingerprint and password for login using sddm

Hello,
I'm using wayland with hyprland compositor. I use sddm as display manager and I'm trying to set both fingerprint and password to log in the user account.

Currently I have the following configuration in

/etc/pam.d/sddm

:

#%PAM-1.0

auth 			[success=1 new_authtok_reqd=1 default=ignore]  	pam_unix.so try_first_pass likeauth nullok
auth 			sufficient  	pam_fprintd.so
auth        include     system-login
-auth       optional    pam_gnome_keyring.so
-auth       optional    pam_kwallet5.so

account     include     system-login

password    include     system-login
-password   optional    pam_gnome_keyring.so    use_authtok

session     optional    pam_keyinit.so          force revoke
session     include     system-login
-session    optional    pam_gnome_keyring.so    auto_start
-session    optional    pam_kwallet5.so         auto_start

I picked the following config:

auth 			[success=1 new_authtok_reqd=1 default=ignore]  	pam_unix.so try_first_pass likeauth nullok
auth 			sufficient  	pam_fprintd.so

from arch wiki: https://wiki.archlinux.org/title/SDDM

The problem is the following: with this config I must insert a wrong password to be able to login with fingerprint, also after the first wrong attempt with the password I cannot login anymore with password but only with fingerprint. My goal is to be able to login with both password or fingerprint since the first attempt and at each attempt both should work. How can I do?
Thanks

Offline

Board footer

Powered by FluxBB