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

M Sandell mikes at comp.leeds.ac.uk
Wed Mar 29 07:02:57 PST 2006


On Wed, 29 Mar 2006, William Zhou wrote:

>
> 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

Maybe this is a simple typo in your email, but you are setting minlen=5 in 
the code snippet above, not 15.

M.
-- 



More information about the blfs-support mailing list