From owner-freebsd-questions Wed Feb 11 13:22:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA23610 for questions-outgoing; Wed, 11 Feb 1998 13:22:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA23597 for ; Wed, 11 Feb 1998 13:22:12 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id HAA17880; Thu, 12 Feb 1998 07:52:07 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id HAA24279; Thu, 12 Feb 1998 07:52:07 +1030 (CST) (envelope-from grog) Message-ID: <19980212075207.27687@freebie.lemis.com> Date: Thu, 12 Feb 1998 07:52:07 +1030 From: Greg Lehey To: pstewart Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Mixed Case Passwords References: <19980211142828.10866@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from pstewart on Wed, Feb 11, 1998 at 02:14:48PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 11 February 1998 at 14:14:48 -0500, pstewart wrote: > On Wed, 11 Feb 1998, Greg Lehey wrote: > >> On Tue, 10 February 1998 at 19:07:24 -0500, pstewart wrote: >>> On Wed, 11 Feb 1998, Greg Lehey wrote: >>>> On Tue, 10 February 1998 at 11:01:25 -0500, pstewart wrote: >>>>> Hi there... >>>>> >>>>> Is there a simple method of allowing all lowercase passwords into a >>>>> FreeBSD box? We have moved a bunch of web hosting accounts from a linux >>>>> box to a new FreeBSD box and the old passwords were all lower case and we >>>>> wish to keep them that way. >>>> >>>> I don't understand the question. FreeBSD allows all lower case >>>> passwords. It's not a good idea, of course. >>> >>> Hmmmm... I just tried it via ADDUSER (forgot to mention that) and it >>> wouldn't allow it.. I'll have to try it again..:) >> >> Yes, I've just checked. FreeBSD has no problems with all-lower-case >> passwords, but the passwd program won't let you do it. If you >> *really* want to do it this way, you'll have to hack >> /usr/src/usr.bin/passwd/local_passwd.c. It's pretty trivial. > > I got it... passwd will let me... you just need to tell it AGAIN and it > will allow you to do it.. this is what was throwing me off..:) Unfortunately, that's only true if you're root. Otherwise you get: $ passwd Changing local password for grog. Old password: New password: Please don't use an all-lower case password. Unusual capitalization, control characters or digits are suggested. New password: Please don't use an all-lower case password. Unusual capitalization, control characters or digits are suggested. New password: Please don't use an all-lower case password. Unusual capitalization, control characters or digits are suggested. New password: Please don't use an all-lower case password. Unusual capitalization, control characters or digits are suggested. New password: Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message