My Oracle Support Banner

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

Last updated on JUNE 29, 2018

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.

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

To view full details, 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 a vibrant support community of peers and Oracle experts.