On Sat, 30 Mar 2002, Werner Puschitz wrote:

> 
> On Sat, 30 Mar 2002, Ed Wilts wrote:
> 
> > vi /etc/login.defs
> > 
> > You could have found this answer by doing a Google search for "linux minimum
> > password length".  I found the answer in about 2 minutes.
> 
> This doesn't work. You need to search a little bit more.
> 
> You need to set the pam_cracklib option "minlen" in 
> /etc/pam.d/system-auth. But this is getting more complicated since
> pam_cracklib is also using credits and there is also a hardcoded limit. 
> Check the pam_cracklib documentation.
> 

BTW, even when you set minlen=9, the minimum password length will not be 9 
since you are also getting credits for digits, other characters, etc.

I wrote a patch where you can really set the mininum password length by 
disabling credits. For more information, see
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pam/Linux-PAM/doc/modules/pam_cracklib.sgml

I was told that this patch will be implemented in RedHat when they upgrade 
to PAM 0.76 but probably not before.

Werner





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to