Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 08:23:20 -0400
From:      Lowell Gilbert <>
Subject:   Re: FreeBSD maximum password length
Message-ID:  <>
In-Reply-To: <> (takCoder's message of "Mon, 17 Jun 2013 10:34:23 +0430")
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
takCoder <> 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

Want to link to this message? Use this URL: <>