sudo
· 702 B · Text
Исходник
#%PAM-1.0
# Set up user limits from /etc/security/limits.conf.
session required pam_limits.so
@include common-auth
# Below requires package 'libpam-u2f' (or equivalent PAM library) package installed first
# as well as 'pamu2fcfg > ${HOME}/.config/Yubico/u2f_keys' ('pamu2fcfg -n >> ${HOME}/.config/Yubico/u2f_keys'
# for additional keys) first
auth sufficient pam_u2f.so cue [cue_prompt=Tap hardware key]
# Below requires 'libpam-google-authenticator' (or equivalent PAM library) package installed first
# as well as executing 'google-authenticator' as '$USER' first
auth required pam_google_authenticator.so nullok
@include common-account
@include common-session-noninteractive
| 1 | #%PAM-1.0 |
| 2 | |
| 3 | # Set up user limits from /etc/security/limits.conf. |
| 4 | session required pam_limits.so |
| 5 | |
| 6 | @include common-auth |
| 7 | |
| 8 | # Below requires package 'libpam-u2f' (or equivalent PAM library) package installed first |
| 9 | # as well as 'pamu2fcfg > ${HOME}/.config/Yubico/u2f_keys' ('pamu2fcfg -n >> ${HOME}/.config/Yubico/u2f_keys' |
| 10 | # for additional keys) first |
| 11 | |
| 12 | auth sufficient pam_u2f.so cue [cue_prompt=Tap hardware key] |
| 13 | |
| 14 | # Below requires 'libpam-google-authenticator' (or equivalent PAM library) package installed first |
| 15 | # as well as executing 'google-authenticator' as '$USER' first |
| 16 | |
| 17 | auth required pam_google_authenticator.so nullok |
| 18 | @include common-account |
| 19 | @include common-session-noninteractive |