FreeBSD maximum password length

Brandon Gooch jamesbrandongooch at gmail.com
Tue Jun 18 02:19:50 UTC 2013


On Mon, Jun 17, 2013 at 6:35 AM, takCoder <tak.official at gmail.com> wrote:
> Thank you, Mark, for your helpful answer :)
>
> yes, i am aware of the max username length of 16characters.. I just wanted
> to become sure about password max length, cause i need to moderate it in my
> self-built user interface..
>
> Thank you again :)
>
>
> On Mon, Jun 17, 2013 at 3:44 PM, Mark Felder <feld at feld.me> wrote:
>
>> There isn't a max password length as far as I'm aware, but there is a max
>> username length that drive me insane sometimes. I should really file a PR
>> about that...

Perhaps your PR is unnecessary:

$ svn log -v -r243023 /usr/src/sys/sys/param.h
------------------------------------------------------------------------
r243023 | bapt | 2012-11-14 04:58:12 -0600 (Wed, 14 Nov 2012) | 8 lines
Changed paths:
   M /head/sys/sys/param.h

Allow usernames up to 32 chars

PR:             kern/161091 [1],
                misc/133926 [2]
Submitted by:   Stephane Lapie <darksoul at darkbsd.org> [1],
                Chris Dillon <cdillon at wolves.k12.mo.us> [2]
Reviewed by:    cognet, kib

------------------------------------------------------------------------

The above would have saved me a few local diffs as well a few years ago...

-Brandon


More information about the freebsd-questions mailing list