From owner-freebsd-questions Sat Apr 8 9: 5:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id 0F90E37BC68 for ; Sat, 8 Apr 2000 09:05:51 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.0/8.10.0) id e38G5dD18414; Sat, 8 Apr 2000 09:05:39 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200004081605.e38G5dD18414@cytosine.dhs.org> Subject: Re: two questions: makecontext, etc; password length In-Reply-To: from Trevor Johnson at "Apr 8, 2000 04:52:26 am" To: Trevor Johnson Date: Sat, 8 Apr 2000 09:05:39 -0700 (PDT) Cc: rjk191@psu.edu, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (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 It is 8 characters only because you are using DES encryption. MD5 supports more characters. Read: http://www.freebsd.org/handbook/crypt.html It will also explain somewhat how to change to MD5. Be aware that if you change encryption, all you're users will have to change their password! --bhishan > > 2) Why are passwords limited to 8 characters? Whether it be xdm, > > login, or su, only the first 8 characters are processed, and the > > rest of the text can be anything I want, or nothing at all. I was > > under the impression that the maximum length of passwords was 25 > > characters. > > In the FreeBSD 4.0 getpass(3) it says: > > The password may be up to _PASSWORD_LEN (currently 128) characters in > length. Any additional characters and the terminating newline > character are discarded. > > The date on that man page is June 4, 1993. > __ > Trevor Johnson > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message