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): 2.12a-2 How reproducible: Always 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 aimlessly. 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. Mike
*** Bug 128366 has been marked as a duplicate of this bug. ***
For example "rlogin" use auth by "login": # /usr/bin/rlogin localhost -l longusername Password: Your account has expired; please contact your system administrator This message reports pam_unix. I think everything other depend on your system-auth setting.
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