Solaris ssh client does not show expired password warning message and permission denied error on login attempt (Doc ID 1379712.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
Information in this document applies to any platform.
***Checked for relevance on 09-Oct-2013***

Symptoms

When a user that had a expired password would ssh to the Solaris 10 system they would not be warned about the expired password or prompted to change it. For example:

ssh -l user hostname
user@hostname's password:
Permission denied (keyboard-interactive).


It fails with a permission denied and no expiration message provided.
The expectation was the following:

ssh -l user hostname
Password:
Warning: Your password has expired, please change it now.

New Password:
Re-enter new Password:
sshd-kbdint: password successfully changed for user

Changes

In attempting to correct another ssh issue the customer had modified this option in the /etc/ssh/sshd_config file from:

PAMAuthenticationViaKBDInt Yes


To:

PAMAuthenticationViaKBDInt No

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms