You are not logged in.

#1 2021-02-19 12:04:57

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Only fingerprint accepted for sudo after fpr-setup in Gnome

Latest Gnome version added an option to register fingerprintreader (fpr) and fingerprints under Settings -> Users

Everything worked fine, I can login and all, but now fingerprint is the only authentication-method offered when using sudo or trying to get admin rights inside Gnome.

I searched the web and had a look at the wiki withot success.

/etc/pam.d/sudo looks like this:

#%PAM-1.0

auth required pam_env.so
auth sufficient pam_fprintd.so
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth required pam_deny.so
auth		include		system-auth
account		include		system-auth
session		include		system-auth

Any ideas?

Offline

#2 2021-02-25 12:20:31

friendofarch
Member
Registered: 2013-12-30
Posts: 59

Re: Only fingerprint accepted for sudo after fpr-setup in Gnome

No ideas? No one else having this issue???

Offline

#3 2021-07-21 09:18:08

Sant0s
Member
Registered: 2020-04-05
Posts: 11

Re: Only fingerprint accepted for sudo after fpr-setup in Gnome

Try swapping pam_fprintd and pam_unix around like so:

#%PAM-1.0

auth        required    pam_env.so
auth        sufficient    pam_unix.so try_first_pass likeauth nullok
auth        sufficient    pam_fprintd.so
auth        required    pam_deny.so
auth        include        system-auth
account    include        system-auth
session        include        system-auth

Offline

Board footer

Powered by FluxBB