Bug 128367 - Login does not inform users of expired passwords (gdm does)
Login does not inform users of expired passwords (gdm does)
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: util-linux (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
: 128366 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-07-22 03:59 EDT by Mike MacCana
Modified: 2007-11-30 17:07 EST (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Mike MacCana 2004-07-22 03:59:58 EDT
Description of problem:
Login and GDM do not have consistent behavior with each other. Login
doesn't tell users that their password has expired. GDM does.

This could be fixed with a simple warning for login when a users
password has expired simialar to what gdm does "your account has
expired, please contact your system administrator".

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

How reproducible:

Steps to Reproduce:
1.Log in using login as a user with an expired password
2.Compare to gdm
Actual results:
Its not consistent. And not particularly helpful either.

Expected results:
Login should be consistent with gdm and tell the user of the problem
so that they indeed contact the system admin, rather than trying

Additional info:
Red Hat's training currently involves getting users to solve problems
with expired passwords - the inconsistency between gdm and login
doesn't look great. If someone who knows C better than I do could fix
login, that'd be great.

Thanks very much.

Comment 1 Mike MacCana 2004-07-22 04:45:40 EDT
*** Bug 128366 has been marked as a duplicate of this bug. ***
Comment 2 Karel Zak 2004-12-17 08:35:54 EST
For example "rlogin" use auth by "login":

# /usr/bin/rlogin localhost -l longusername
Your account has expired; please contact your system administrator

This message reports pam_unix. I think everything other depend on your
system-auth setting.
Comment 3 Mike MacCana 2005-02-05 20:00:14 EST
Correction: the message is displayed but disappears immediately. Is
there some way we could get it to display on screen for a few seconds
before login respawns (by default)?
Comment 4 Karel Zak 2005-04-20 05:14:41 EDT
see "man mingetty" (e.g. --noclear or --delay option) and /etc/inittab

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