CPM:Cisco accounts fail to manage with error message "Cannot have both a user password and a user secret"

CPM:Cisco accounts fail to manage with error message "Cannot have both a user password and a user secret"

79
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:59 PM


Symptom


CPM fails to manage the Cisco account. The error message is:

"Cannot have both a user password and a user secret"


Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) CPM

Cause


The default user change password command might not be compatible with the target Cisco device version
 


Resolution


Make a copy of the CiscoProcess.ini file located in the "C:\Program Files\CyberArk\Password Manager\bin" folder. For example CiscoSecretProcess.ini
In the new CiscoSecretProcess.ini file located change the 'ChangeUserPass' command to the command that is compatible by the target Cisco device.

For example, change this:
ChangeUserPass=username <username> password <pmnewpass>

to this:
ChangeUserPass=username <username> secret <pmnewpass>

Important note:

If there are other users defined on other Cisco devices, whose passwords are also being managed by the same policy (same process file is used) and who have a password defined on those target devices (rather than a secrets), making this change will result in failure to manage these users' passwords. In that case you'll need to create 2 separate policies and associate each password object with the appropriate policy.
 


Additional Information


Details

SYMPTOM:

CPM fails to manage the Cisco account. The error message is:

"Cannot have both a user password and a user secret"

PROBLEM:

The default user change password command might not be compatible with the target Cisco device version

SOLUTION:

Make a copy of the CiscoProcess.ini file located in the "C:\Program Files\CyberArk\Password Manager\bin" folder. For example CiscoSecretProcess.ini
In the new CiscoSecretProcess.ini file located change the 'ChangeUserPass' command to the command that is compatible by the target Cisco device.

For example, change this:
ChangeUserPass=username <username> password <pmnewpass>

to this:
ChangeUserPass=username <username> secret <pmnewpass>

Important note:

If there are other users defined on other Cisco devices, whose passwords are also being managed by the same policy (same process file is used) and who have a password defined on those target devices (rather than a secrets), making this change will result in failure to manage these users' passwords. In that case you'll need to create 2 separate policies and associate each password object with the appropriate policy.
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000mpSCAQ&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail