Bug 130379 - (IT_47197) redhat-config-users does not use the password age defaults in /etc/login.defs
redhat-config-users does not use the password age defaults in /etc/login.defs
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-users (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nils Philippsen
Depends On:
  Show dependency treegraph
Reported: 2004-08-19 15:02 EDT by Eric Paris
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-19 17:39:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch r-c-users so it honors defaults set in /etc/libuser.conf (or in libuser itself) (518 bytes, patch)
2004-11-01 17:11 EST, David Lehman
no flags Details | Diff

  None (edit)
Description Eric Paris 2004-08-19 15:02:06 EDT
Description of problem:
The redhat-config-users should use the defaults for password aging as
shown in /etc/login.defs since that option is not available during
user creation.  It is known that such an option is available after the
user is created by accessing the properties of the user.  But the tool
should accept the defaults for portions of user creation which are not
able to be set at creation time.

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

How reproducible:

Steps to Reproduce:
1.add line "PASS_MAX_DAYS   90" to /etc/login.defs
2.create a new user using the redhat-config-users tool

Actual Results:  line in /etc/shadow file looks like:

note expiration of 99999

Expected Results:  line in /etc/shadow file looks like:

note expiration of 90
Comment 1 Eric Paris 2004-08-20 16:24:16 EDT
editting /etc/libuser.conf and setting 
had no effect on the user created using redhat-config-users either.
Comment 2 David Lehman 2004-11-01 17:11:43 EST
Created attachment 106051 [details]
Patch r-c-users so it honors defaults set in /etc/libuser.conf (or in libuser itself)
Comment 4 Nils Philippsen 2004-11-08 11:34:15 EST
I've built redhat-config-users-1.1.18-3 which fixes this problem -- it
doesn't honor login.defs but libuser.conf -- and opened an erratum for it.
Comment 5 Tim Powers 2005-05-19 17:39:59 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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