Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 14:57:04 -0400
From:      James <James_Bond_79@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   wrong crypt? - adduser problem
Message-ID:  <01042214570401.75074@Halstead007>

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




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