-
Notifications
You must be signed in to change notification settings - Fork 1
PAM Configuration
Abi Hafshin Alfarouq edited this page Sep 27, 2018
·
1 revision
add this line before 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.
auth sufficient pam_redface.so ifexist=/run/user/{{.Uid}}/keyring/control
auth include system-local-login
...
/etc/pam.d/sudo contents:
#%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:
#%PAM-1.0
auth sufficient pam_redface.so
auth include system-auth
account include system-auth
password include system-auth
session include system-auth