add this line before auth required pam_unix.so
auth required pam_unix.so
auth sufficient pam_redface.so
If you use gnome keyring, you should login using your password to unlock the keyring. You can still use face recognition for unlocking the screen.
To enable face recognition for unlocking screen, open /etc/pam.d/gdm-password and insert pam_redface before including system-local-login.
/etc/pam.d/gdm-password
auth sufficient pam_redface.so ifexist=/run/user/{{.Uid}}/keyring/control auth include system-local-login ...
/etc/pam.d/sudo contents:
/etc/pam.d/sudo
#%PAM-1.0 auth sufficient pam_redface.so auth include system-auth account include system-auth session include system-auth
/etc/pam.d/polkit-1 contents:
/etc/pam.d/polkit-1
#%PAM-1.0 auth sufficient pam_redface.so auth include system-auth account include system-auth password include system-auth session include system-auth
There was an error while loading. Please reload this page.