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

Omer Faruk Sen omerfsen at gmail.com
Wed May 7 21:23:56 UTC 2008

Actually I have read it but haven't read all the man pages because
even in 7.0 manual page for login.conf still have:

 minpasswordlen    number	 6	   The minimum length a local password may be.

I think that line should be removed from manual page too.

Regards, thanks for the fast reply.

On Thu, May 8, 2008 at 12:16 AM, Mel
<fbsd.questions at rachie.is-a-geek.net> wrote:
> 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.
>  --
>  Mel
>  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