From owner-freebsd-questions@FreeBSD.ORG Wed Jun 19 05:13:03 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 C6237479 for ; Wed, 19 Jun 2013 05:13:03 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 963781A09 for ; Wed, 19 Jun 2013 05:13:03 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c10so11748700ieb.24 for ; Tue, 18 Jun 2013 22:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=RYrDFVi3NgLHyynZHpbU94zC7+EZQrkHWcKZuOrETvU=; b=Mg1lH+hYepfvbGEvhaa/0WR93wrnea6OiFaeokgGx2J21mjgSUAXkTBtC6o2+HT9N6 h7wtLSf5t16JoGtJGI7tVgnYfzOx5omtCWY3EiUQHBQzJV8hSwe0kG1Jw+RsfBjK7NT7 9wtWT6A6Kgl5t0uYX/UsG4jFepJ6zTx4TAGfScODbhJpDBjWQWFtoHCZvCeRFM2zJ6KU wkIPSV0m+L5c2ABSVdtbCJwKOlJi6JllTifS9baKyuvLp7DVFnUwL+JSfEcMbbtdoDu7 nOsEUe/yIsLa6mx2QEqAA5VK8KJe4rKePj2ZEdkcsGPPL1vNIvG8hXlPmRKriHb8XzcV R77A== X-Received: by 10.50.3.103 with SMTP id b7mr8982075igb.54.1371618782535; Tue, 18 Jun 2013 22:13:02 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.153.10 with HTTP; Tue, 18 Jun 2013 22:12:42 -0700 (PDT) In-Reply-To: References: <1371523096.28354.140661245145265.2BADB3AF@webmail.messagingengine.com> From: takCoder Date: Wed, 19 Jun 2013 09:42:42 +0430 X-Google-Sender-Auth: B4US6Zn4u7BbOgNNEiz-JGQZ-mI Message-ID: Subject: Re: FreeBSD maximum password length To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions , Eduardo Morras X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 05:13:03 -0000 Thank you all for the points you mentioned around this topic. On Mon, Jun 17, 2013 at 3:44 PM, Mark Felder wrote: >There isn't a max password length as far as I'm aware, ... On Jun 17, 2013, at 7:47 AM, Eduardo Morras wrote: > > If I remember well, any password longer than default size is truncated, so passwords > > a) ' AhN12Njufsn8794432kjfvsnkkJHNDSMNDKh844mNJKnhjhu8u8424' > b) 'AhN12Njufsn8794432kj' > > have the same salt hash value and both validate the user. > My test machine is currently an old 8.2 one, but the final machine may be upgraded. on this machine, if i enter a password longer than 128 characters, extra characters will be exactly trimmed. So, the final password for any user with a greater-equal input password string, with same first 128 characters, would be the first 128characters. has this been changed in Freebsd 8.3+ to what you explained, Eduardo, or this is the respected behavior? or i am wrong somewhere? Thank you :) On Tue, Jun 18, 2013 at 7:12 AM, Michael Sierchio wrote: > I know this may seem off-the-wall to some, but I pasted a hashed > password for a user under 9.1 into the /etc/passwd entry for that user > on an 8.3 machine, and auth continues to work properly. That's nice. > > - M > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >