minpasswordlen and login.conf not working on 6 or 7 series

Mel fbsd.questions at rachie.is-a-geek.net
Wed May 7 21:16:29 UTC 2008

On Wednesday 07 May 2008 23:00:04 Omer Faruk Sen wrote:

> I wanted to set  the minimum length of  passwords  of my users so I
> have done the followings in login.conf
> 1) added  :minpasswordlen=5:\ to    default like:

> Am I missing something here? Or this may be a bug on FreeBSD 6.X and 7.X

You didn't read the login.conf manpage:
     The minpasswordlen and minpasswordcase facilities for enforcing restric-
     tions on password quality, which used to be supported by login.conf, have
     been superseded by the pam_passwdqc(8) PAM module.


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list