Bug 1053

Summary: The nonquery messages from PAM account aren't forwarded to user (privsep)
Product: Portable OpenSSH Reporter: Tomas Mraz <t8m>
Component: PAM supportAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 4.1p1   
Hardware: All   
OS: Linux   
Bug Depends on:    
Bug Blocks: 1047    
Attachments:
Description Flags
only send messages from monitor on pam_account account failure none

Description Tomas Mraz 2005-06-10 00:09:40 AEST
The nonquery messages from PAM account call aren't forwarded to user when using
privilege separation and the login succeeds.

If the pam_acct_mgmt call fails the message is sent to user in the disconnect
packet (proto 1) or as banner (proto 2) however it isn't sent at all if the call
succeeds, because the loginmsg buffer is cleared in the mm_answer_pam_account call.
Comment 1 Darren Tucker 2005-07-14 13:51:53 AEST
Created attachment 938 [details]
only send messages from monitor on pam_account account failure

This is one way to fix this.  There might be a tidier way...
Comment 2 Darren Tucker 2005-09-30 10:59:22 AEST
This is the same thing as bug #1087, right?
Comment 3 Tomas Mraz 2005-09-30 18:51:16 AEST
Of course

*** This bug has been marked as a duplicate of 1087 ***
Comment 4 Darren Tucker 2006-10-07 11:40:50 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.