From owner-freebsd-questions Sat Oct 23 10:10:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id AFC1C14C35 for ; Sat, 23 Oct 1999 10:10:18 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id NAA37967; Sat, 23 Oct 1999 13:13:33 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199910231713.NAA37967@cc942873-a.ewndsr1.nj.home.com> Subject: Re: FreeBSD 3.3-RELEASE passwd issue In-Reply-To: from Vincent Poy at "Oct 22, 1999 11:27:20 pm" To: vince@venus.GAIANET.NET (Vincent Poy) Date: Sat, 23 Oct 1999 13:13:32 -0400 (EDT) Cc: cjclark@home.com, FreeBSD-Questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vincent Poy wrote, > On Sat, 23 Oct 1999, Crist J. Clark wrote: > > > Vincent Poy wrote, > > [snip] > > > > > > Seems for some reason, unless I go into vipw and delete the entire > > > password, the passwd program will just write MD5 instead of DES since it > > > had the $ before it. > > > > Oh, yeah. That's a know "gotcha." Once you set the password to one > > format, the only way to change it is to go in manually with vipw. > > > > But to the original problem, those 13 character passwords you said you > > originally had, the DES ones, should work fine. > > Yeah, thanks for fixing the mixup.... But what's the maximum > characters allowed for MD5 and DES for passwords? I believe the maximum number of characters you can type in is 128. However, for DES I know only the first 8 characters are significant. From a _really_ quick look at crypt_md5() source, it looks like it uses 16. Is that right? I am sure MD5 uses more. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message