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):
Steps to Reproduce:
1.Log in using login as a user with an expired password
2.Compare to gdm
Its not consistent. And not particularly helpful either.
Login should be consistent with gdm and tell the user of the problem
so that they indeed contact the system admin, rather than trying
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.
*** Bug 128366 has been marked as a duplicate of this bug. ***
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
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)?
see "man mingetty" (e.g. --noclear or --delay option) and /etc/inittab