Fixed pam cracklib passwdqc

This commit is contained in:
Иван Дзюбенко 2021-09-16 09:46:13 +03:00
parent 85c655bc8f
commit e0aee0dd88

View file

@ -9,7 +9,13 @@ auth required pam_deny.so
account required pam_unix.so
account sufficient pam_ldap.so
#?pkg(cracklib)!=#
password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
#pkg#
#?pkg(passwdqc)!=#
password required pam_passwdqc.so min=8,8,8,8,8 retry=3
#pkg#
password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
password sufficient pam_unix.so try_first_pass use_authtok nullok md5 shadow