Andrew_Wong at national.com.au
2005-Jul-13 22:50 UTC
no expiry message displayed when login.
Hi, I am not sure this is a bug in Openssh or not. I am running Openssh 4.1p1. with openssl 0.9.7g Scenario: When my password is in the warning period, I logon via ssh and I did not get the warning message which I should. I enabled the DEBUG level to 3 and I can see that sshd did received the warning message but It is not displayed from login session. Information from DEBUG : Jul 13 17:05:31 tatiana sshd[25599]: [ID 579461 auth.debug] pam_unix_account: entering pam_sm_acct_mgmt() Jul 13 17:05:31 tatiana sshd[25599]: [ID 100510 auth.debug] ldap pam_sm_acct_mgmt(n113839), flags = 0 Jul 13 17:05:31 tatiana sshd[25599]: [ID 800047 auth.debug] debug3: PAM: sshpam_thread_conv entering, 1 messages Jul 13 17:05:31 tatiana sshd[25599]: [ID 800047 auth.debug] debug3: ssh_msg_send: type 4 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: ssh_msg_recv entering Jul 13 17:05:31 tatiana sshd[25599]: [ID 800047 auth.debug] debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success) Jul 13 17:05:31 tatiana sshd[25599]: [ID 800047 auth.debug] debug3: ssh_msg_send: type 0 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug1: PAM: Your password will expire in 3 days. Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: PAM: import_environments entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: sshpam_password_change_required 0 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: PAM: num env strings 0 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug1: PAM: num PAM env strings 0 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_send entering: type 51 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_receive entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: monitor_read: checking request 52 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_answer_pam_respond Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug2: PAM: sshpam_respond entering, 0 responses Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_send entering: type 53 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_receive entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: monitor_read: checking request 54 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_answer_pam_free_ctx Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: PAM: sshpam_free_ctx entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: PAM: sshpam_thread_cleanup entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_send entering: type 55 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug2: monitor_read: 54 used once, disabling now Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_receive_expect entering: type 46 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_receive entering Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug1: do_pam_account: called Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.debug] debug3: mm_request_send entering: type 47 Jul 13 17:05:31 tatiana sshd[25597]: [ID 800047 auth.info] Accepted keyboard-interactive/pam for n113839 from 127.0.0.1 port 61295 ssh2 Please help. Regards Andrew ____________________________________________________ Andrew Wong Enterprise System Operation Platform Service Southern Star Technology, National Australia Bank 1/122 Lewis Road, Wantirna South 3152 Phone: (03) 9886 2844 Ext x32844 Email: andrew_wong at national.com.au __________________________________________________ This email is sent by or on behalf of the named sender identified above. If you do not wish to receive any email marketing material from this person in the future, please forward the contents of this email to unsubscriptions at national.com.au with the word "unsubscribe" in the subject box. If you do not forward the contents of this email with your unsubscription then it may not be able to be implemented. If you wish to unsubscribe from all central email marketing lists used by our business, please forward the contents of this email to unsubscriptions at national.com.au with the message "unsubscribe from all central email marketing lists" in the subject box. If you do not forward the contents of this email with your unsubscription then it may not be able to be implemented. The information contained in this email communication may be confidential. You should only disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of the National Australia Bank Group of companies. Any advice contained in this e-mail has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this e-mail, National Australia Bank Limited recommends that you consider whether it is appropriate for your circumstances. If this e-mail contains reference to any financial products, the National recommends you consider the Product Disclosure Statement (PDS) or other disclosure document before making any decisions regarding any products. The National Australia Bank Group of companies does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference.
Sounds like this bug: http://bugzilla.mindrot.org/show_bug.cgi?id=1053 There's a patch in there that ought to resolve it, if not please add a comment to the bug with details of your platform (you may also want to add yourself to the CC: list). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.