#PAM fprintd 2FA
1 messages · Page 1 of 1 (latest)
If I understood this and the man page correctly, I need to run something like this:
# authselect select <current_profile> <current_features> with-fingerprint
(I think)
Alright so apparently authselect enable-feature with-fingerprint sets fprintd as sufficient only
It it's not 2FA
I had to manually edit the system-auth file to enable it
# Generated by authselect
# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.
# You can stop authselect from managing your configuration by calling 'authselect opt-out'.
# See authselect(8) for more details.
auth required pam_env.so
auth required pam_faildelay.so delay=2000000
auth required pam_faillock.so preauth silent
auth required pam_unix.so nullok
auth sufficient pam_fprintd.so
auth required pam_faillock.so authfail
auth required pam_deny.so
account required pam_faillock.so
account required pam_unix.so
password requisite pam_pwquality.so
password sufficient pam_unix.so yescrypt shadow nullok use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
-session optional pam_systemd.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
Any user changes will be overwritten.
Well shit
When?
Okay so I made a custom authselect profile