csb/pam/pam.d/system-password
Willy Sudiarto Raharjo 0ea2fbc986
pam: Add pam.d and rebuilt to get cracklib.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2016-11-22 21:22:28 +07:00

13 lines
646 B
Text

# Begin /etc/pam.d/system-password
# check new passwords for strength (man pam_cracklib)
#password required pam_cracklib.so type=Linux retry=3 difok=5 \
# difignore=23 minlen=9 dcredit=1 \
# ucredit=1 lcredit=1 ocredit=1 \
# dictpath=/usr/share/cracklib/cracklib-large
# use sha512 hash for encryption, use shadow, and use the
# authentication token (chosen password) set by pam_cracklib
# above (or any previous modules)
password required pam_unix.so sha512 shadow use_authtok
# End /etc/pam.d/system-password