Return PAM_AUTHINFO_UNAVAIL from pam_fprintd.so

GDM/gnome-shell expects being able to tell apart various failure modes
from the pam_fprintd.so. However, using "sufficient" means that the
generic error code from pam_deny.so will be returned.

Use default=bad, to ensure that the failing error code from
pam_fprintd.so is correctly exposed to GDM.
This commit is contained in:
Benjamin Berg 2021-04-09 17:00:15 +02:00
parent ada898394e
commit dff39dc42d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# This file is auto-generated.
# User changes will be destroyed the next time authselect is run.
auth required pam_env.so
auth sufficient pam_fprintd.so
auth [success=done default=bad] pam_fprintd.so
auth required pam_deny.so
account required pam_unix.so