From owner-freebsd-questions@FreeBSD.ORG Mon Jun 17 12:31:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C4F7A9D for ; Mon, 17 Jun 2013 12:31:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 09F171254 for ; Mon, 17 Jun 2013 12:31:05 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 7A5D433C22; Mon, 17 Jun 2013 08:23:20 -0400 (EDT) From: Lowell Gilbert To: tak.official@gmail.com Subject: Re: FreeBSD maximum password length References: Date: Mon, 17 Jun 2013 08:23:20 -0400 In-Reply-To: (takCoder's message of "Mon, 17 Jun 2013 10:34:23 +0430") Message-ID: <44li69diyv.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 12:31:06 -0000 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 with.