Re: minpasswordlen and login.conf not working on 6 or 7 series
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:\ todefault 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: minpasswordlen and login.conf not working on 6 or 7 series
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: minpasswordlennumber6 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 [EMAIL PROTECTED] 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:\ todefault 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: minpasswordlen and login.conf not working on 6 or 7 series
On Wednesday 07 May 2008 23:23:54 Omer Faruk Sen wrote: 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: minpasswordlennumber 6 The minimum length a local password may be. I think that line should be removed from manual page too. It's confusing, but... The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. So this basically means, that cap_mkdb /etc/login.conf will not throw an error when it sees that capability and it will also set the default value, if applicable. Programs can use getcap(3) to consult the value. For instance you could write your own login program, or consult and enforce it through a webpage, or implement it in a server program. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]