Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 15:03:02 -0400
From:      James <James_Bond_79@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: wrong crypt? - adduser problem
Message-ID:  <01042215030202.75074@Halstead007>
In-Reply-To: <01042214570401.75074@Halstead007>
References:  <01042214570401.75074@Halstead007>

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




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