From owner-freebsd-questions Tue Jun 6 16:47:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id AF3D337BC00 for ; Tue, 6 Jun 2000 16:47:06 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id DAA19268; Wed, 7 Jun 2000 03:50:04 +0200 Message-ID: <393D8D95.A1877719@i-clue.de> Date: Wed, 07 Jun 2000 01:47:33 +0200 From: Christoph Sold Organization: i-clue interactive GmbH X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Corey Wheeler Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Password Lengths References: <393819DD.E333D58B@euriscom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Corey Wheeler wrote: > In FBSD 4.0, I've set the minpasswordlen=10:\ in my login.conf and run > the cap_mkdb /etc/login.conf. I execute the passwd command while being > logged in as myself. If I type in a new password that is shorter than > the minpasswordlen, it warns me that my new password is too short. So, > I enter a password of the correct length and confirm that password. > However, when I log out and log back on, I can enter the first 8 > characters of my password and it accepts it as being valid. Is there > something I am missing here. I simply want to be able to set password > lengths greater than 8 characters. You probably are using DES encrypted passwords. The DES algorithm takes exactly eight bytes from the beginning of the password and encrypts those. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message