# 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