FreeBSD maximum password length

Lowell Gilbert freebsd-questions-local at
Mon Jun 17 12:31:06 UTC 2013

takCoder <tak.official at> writes:

> As i googled it,  there is no maximum limitations for users' password
> length by default.. But we may use *pam_passwdqc* module with *max* option
> to check it when required.
> And i've heard that no-maximum-limits for passwords length is only possible
> when we keep them in encrypted form not as plain text, which i think is
> matched with FreeBSD behavior.

Is plain-text passwords even a supported behaviour? I didn't think it was.

> Am i right? Is that all about maximum password length in FreeBSD? Did i
> miss something??

_PASSWORD_LEN is the defined limit. It's 128 characters by default but
could be changed at compile time. There may be other limits, such as in
various versions of NIS.

> Thank you for all your helps and ideas :)

I'm not sure I understand what you're doing, so I don't have any real
advice, but I don't see why 128 characters would be that hard to deal

More information about the freebsd-questions mailing list