Bug 2609

Summary: OpenSSH_5.3p1 have no prompt when user account expired
Product: Portable OpenSSH Reporter: chenjian <chenjianhappy2008>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: chenjianhappy2008, dtucker
Priority: P5    
Version: 5.3p1   
Hardware: ix86   
OS: Linux   

Description chenjian 2016-08-24 17:53:13 AEST
OpenSSH_5.3p1 clients will not print the following warning when a correct password is provided but it is expired: Your account has expired; please contact your system administrator.

It might confuse users since they do not know what is going on and why the password has not been accepted. You must add the parameter -v (ssh xx.xx.xx.xx -v), the account expiration prompt will appear.

But OpenSSH_4.3p2 have the account expiration prompt when a correct password is provided but it is expired.
Comment 1 Darren Tucker 2016-08-25 18:31:44 AEST
5.3 was released almost 7 years ago.  Can you reproduce the problem with the current version (7.3)?

There are many variables including client and server config that you have not specified so I can't even guess what's going on, but if you wish to investigate yourself I suggest running both clients with ssh -vvv and comparing the output.

That said, if the problem doesn't exist in the current versions there's not much we can do to help.
Comment 2 Darren Tucker 2016-10-15 03:58:43 AEDT
Without at least a debug trace there is nothing that we can do with this.  Please reopen if you can supply the requested trace or if the problem occurs with the most recent version (7.3p1).
Comment 3 Damien Miller 2018-04-06 12:26:35 AEST
Close all resolved bugs after release of OpenSSH 7.7.