Cannot Change Password on some Linux Servers
search cancel

Cannot Change Password on some Linux Servers

book

Article ID: 137408

calendar_today

Updated On:

Products

CA Privileged Access Manager - Cloakware Password Authority (PA) CA Privileged Access Manager (PAM) CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

PAM Admin attempting to rotate the PAM Password via Job and/or the UI - however the password doesn't get rotated.

Environment

Privileged Access Manager, all versions

Cause

Inside  Tomcat Apache Logs - there is the following error:

 

INFO: jsch: password prompt: 'Password for <username>@<ip address>'

Sep 10, 2024 2:40:05 AM com.cloakware.cspm.server.plugin.SSHConnector$1 log

INFO: jsch: Login trials exceeds 1

Sep 10, 2024 2:40:05 AM com.cloakware.cspm.server.plugin.SSHConnector$1 log

INFO: jsch: Disconnecting from <ip address> port 22

 

 

Resolution

The message:

INFO: jsch: Login trials exceeds 1

means inside  /etc/ssh/sshd_config -  probably have the following configured:

MaxAuthTries 1

==================================================

With this setting, if we try once to validate the password, before we rotate it - we will be logged out and won't be successful.

Increase this value to allow to validate a password and if incorrect -  can then rotate it.