How to require minium length passwords

Sean Murphy smurphy at calarts.edu
Fri May 12 14:29:22 PDT 2006


I am trying to require users to put in 8 character passwords but as it 
stands it will take 1 just fine. I Tried messing with the login.conf 
file but it still looks like it accepts 1 character as an acceptable 
password.  here is what i did.  Also will this restrict other programs 
to the set minimum or can they just set the password to what there 
parameters dictate? such as usermin password change util.



added this under default

:minpasswordlen=8:\

ran the data base

cap_mkdb /etc/login.conf


More information about the freebsd-questions mailing list