Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 1998 07:52:07 +1030
From:      Greg Lehey <grog@lemis.com>
To:        pstewart <pstewart@oncomdis.on.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Mixed Case Passwords
Message-ID:  <19980212075207.27687@freebie.lemis.com>
In-Reply-To: <Pine.LNX.3.93.980211141427.8731A-100000@oncomdis.on.ca>; from pstewart on Wed, Feb 11, 1998 at 02:14:48PM -0500
References:  <19980211142828.10866@freebie.lemis.com> <Pine.LNX.3.93.980211141427.8731A-100000@oncomdis.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980212075207.27687>