1833839 Members
2573 Online
110063 Solutions
New Discussion

SSH-Password Expiry

 
Frank Norgan
Occasional Contributor

SSH-Password Expiry

I have an HP UX 11i box that is configured for SSH. User logon passwords are set to expire every 30 days on this box. When connecting via an SSH client to this box, the change password prompt (box) does not get presented to the SSH client when the user's password has expired.

We were using TELNET before SSH, and HPUX password expiry prompted users to change their expired passwords.

What is the trick to get the expiry password change request presented to the SSH client?

Thanks
Frank
2 REPLIES 2
Rasheed Tamton
Honored Contributor

Re: SSH-Password Expiry

Please see the below link:
To display a warning message to SSH users of impending password experiation. And on the last day Force a change also.
---
http://www.sun.com/bigadmin/scripts/submittedScripts/psshex.txt


Regards,
Rasheed Tamton.
Matti_Kurkela
Honored Contributor

Re: SSH-Password Expiry

Use the latest version(s) of SSH and read the release notes very carefully.

In the older versions, the password expiry and change requests didn't work.

With the latest one or two versions, some authentication settings of sshd_config need to be in specific values for the password expiry system to work. This is documented in the release notes.
MK