Bug 85357 - redhat-config-users does not create MD5 password
redhat-config-users does not create MD5 password
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-users (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-28 10:49 EST by Jim Shanks
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-22 16:58:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jim Shanks 2003-02-28 10:49:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

Description of problem:
Creating a new user with redhat-config-users produces an encrypted password 
in /etc/shadow but not an MD5 encrypted password.  Passwords later changed with 
the passwd command produce a password as per system defaults.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  add a new user <username> with redhat-config-users and cat /etc/shadow | 
grep <username>
2.  change password to the same password with passwd <username> and 
cat /etc/shadow | grep <username>
3.  compare the results
    

Actual Results:  Original password will be encrypted as a 13 character string.  
Password created with passwd will be a 34 character MD5 string begining with $1
$.

Expected Results:  redhat-config-users should create an encrypted password 
identical to passwd as per the system settings.

Additional info:

My oldest system has 7.3 installed.  Same behavior there.
Comment 1 Brent Fox 2003-04-03 15:26:17 EST
The only way I can reproduce this is if I turn off "Use MD5 passwords" with
authconfig.  In which case, redhat-config-users is doing the right thing to not
make MD5 encrypted passwords.  However, on my test machine, 'passwd' does not
make an MD5 password if MD5 passwords are disabled.

Once I re-enable MD5 passwords with authconfig, both redhat-config-users and
passwd start making MD5 passwords.

I don't seem to be able to reproduce your problem.
Comment 2 Brent Fox 2003-05-22 16:58:07 EDT
Closing as 'worksforme'.  The program seems to be working properly on my test
machines.

Note You need to log in before you can comment on or make changes to this bug.