From owner-freebsd-questions@FreeBSD.ORG Mon Jun 17 14:47:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D0D83CD3 for ; Mon, 17 Jun 2013 14:47:53 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm3-vm0.bullet.mail.ird.yahoo.com (nm3-vm0.bullet.mail.ird.yahoo.com [77.238.189.213]) by mx1.freebsd.org (Postfix) with SMTP id 11E0F1B11 for ; Mon, 17 Jun 2013 14:47:52 +0000 (UTC) Received: from [77.238.189.53] by nm3.bullet.mail.ird.yahoo.com with NNFMP; 17 Jun 2013 14:47:45 -0000 Received: from [46.228.39.115] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 17 Jun 2013 14:47:45 -0000 Received: from [127.0.0.1] by smtp152.mail.ir2.yahoo.com with NNFMP; 17 Jun 2013 14:47:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1371480465; bh=sM39oVqPIiaYYVD/W/OyxGrcZ4f01MCEotQTrtZ5ecA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=QuV78CKEF3KBrAq0/wRGYInLkT32rZ29zf7r22klja9FWI3gP4vf/iCIWRcd1yVJSej7jPpXGQZ4nqfGLDbsFbdSfWZlNpdl8ppC7X/thGIDmhlyY/s4puNjk7zwShrQEDiJnojxg9/Q50YOfa4n6M19eWcEbPFrOibbFv0X3FQ= X-Yahoo-Newman-Id: 406085.70135.bm@smtp152.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: LEryX3sVM1nOCarzT7PtFuhtiOk7nH5cogw03FXpp9RiF2H AszBVXWkLkie_4O7pwMUkka5P384yyhCCjvCVIEbidKvWCN.U4aiGgQ8HXGe IZZdkUEIhyeblPvhgCp8RgEzqpkgU.8uyJW4YXV3f6VHDjdRcp8_za7MsQTV 2qUNU7ZvL4L3OvTYNrCdBOOqbAIQ3LDqOCy880cRyBMW2y5NYaorDLWbfkFr ic44tvviKk9fVt4XidpAexd1V3WYoo_HFH4p6b30JZkQUbmGJALdIHqsb5L9 o9G.YRllpUgI6_7.1lVZOxW2e5l_x_0jGDH_18HOJCdlTO0whxGGC9yiUbRq vKYEPJ7Mgo2Yk6RLTBorHdPX1O0p9YYUcV1vs.3svnIgkJ0dNj7P9vTBySl9 H7wu9uHO5LJ4sZN4ZRSsgQ4qfGA8TtLKUMgk6MMkmoLna2siEgsGXIvwCBVC e X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@85.219.45.142 with ) by smtp152.mail.ir2.yahoo.com with SMTP; 17 Jun 2013 14:47:45 +0000 UTC Date: Mon, 17 Jun 2013 16:47:44 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: FreeBSD maximum password length Message-Id: <20130617164744.1c4e3d02e57de825d500e309@yahoo.es> In-Reply-To: References: <44li69diyv.fsf@be-well.ilk.org> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 14:47:53 -0000 On Mon, 17 Jun 2013 17:49:56 +0330 takCoder wrote: > > I need to moderate the input password in my system's user interface. And I > believe i have tested longer passwords than that, about 1000 characters > long, and there was no limitations, via using this command in a /bin/sh > test shell script : "echo PASSWORD | pw user mod USER -h 0". 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. > Thank you :) --- --- Eduardo Morras