Shadow-4.0.13 package. minlen parameter of cracklib is not working.

William Zhou armageddonmagic at 163.com
Wed Mar 29 01:09:53 PST 2006


Hi you guys,

Is the parameter not working as expected? Even with minlen=15, you can 
still have 9 character password.
Any suggestion?

cat > /etc/pam.d/passwd << "EOF"
# Begin /etc/pam.d/passwd

password    required       pam_cracklib.so  retry=3 difok=8 minlen=5 \
                                            dcredit=3  ocredit=3 \
                                            ucredit=2  lcredit=2
password    required       pam_unix.so      md5 shadow use_authtok

# End /etc/pam.d/passwd
EOF


Thanks.
William Zhou




More information about the blfs-support mailing list