From owner-freebsd-stable Sun Apr 22 12: 4:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailout4-0.nyroc.rr.com (mailout4-1.nyroc.rr.com [24.92.226.166]) by hub.freebsd.org (Postfix) with ESMTP id 1995037B423 for ; Sun, 22 Apr 2001 12:04:10 -0700 (PDT) (envelope-from James_Bond_79@yahoo.com) Received: from Halstead007 (roc-24-169-196-57.rochester.rr.com [24.169.196.57]) by mailout4-0.nyroc.rr.com (8.11.2/RoadRunner 1.03) with SMTP id f3MJ1v211515 for ; Sun, 22 Apr 2001 15:01:57 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: James To: freebsd-stable@freebsd.org Subject: Re: wrong crypt? - adduser problem Date: Sun, 22 Apr 2001 15:03:02 -0400 X-Mailer: KMail [version 1.2] References: <01042214570401.75074@Halstead007> In-Reply-To: <01042214570401.75074@Halstead007> MIME-Version: 1.0 Message-Id: <01042215030202.75074@Halstead007> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to reply to my own message but: I wanted to add that I did install the crypt distribution. and a quick look at adduser shows it just makes calls to crypt without regard to the login.conf setting (as far as I looked anyway) James On Sunday 22 April 2001 14:57, James wrote: > I installed the RC4 iso image and had assumed that md5 was the password > encryption default. However my girlfriend noticed by accident that > passwords were being truncated at 8 characters. Sure enough my system has > been using des for all user passwords (the root password was correct). The > login.conf properly said I was to be using md5 passwords. > > This confused me for a moment then I realized that I had never used passwd > to change the passwords of the users, I had kept what I gave them at > adduser time. After using passwd on a user it sure enough used md5 to hash > it. I then adduser'd another dummy user, and it used des. Using passwd as > this new user caused md5 to be used as expected. > > So basically it seems that adduser is broken and using des passwords when > creating new users. > > I have to go out, and will look into this further when I get back, but > wanted to see if anybody else was having a problem like this. > > I also have no way to confirm if this is the case on -current. > > James > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message