CPM - Verify/Change/Reconcile Fails for Non-English Targets
Symptom
All CPM actions (verify/change/reconcile) fail against non-English targets being managed using the Unix via SSH plugin. The debug log may show errors similar to the following:
2025/06/16 16:01:06 [10652] Execution error. EXT01::Did not find any matching prompt for 'passwd: Sólo root puede especificar un nombre de usuario.[test@target ~]$ '. Error code:-1
26/02/2024 11:22:16.539 | Info -> bj :: b -> Got timeout. Received: passwd: solo root puede especificar un nombre de usuario.[test@target ~]$
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
CPM
Unix via SSH Plugin
TPC - All versions
Cause
The target is returning non-English prompts, which TPC does not understand. This causes the plugin to time out.
Resolution
Update the relevant UnixProcess.ini file to switch the language to English before every change-password and/or switch-user operation.
Locate each of the state definitions listed below and update them as follows:
| State | Old Definition | Updated Definition |
| SwitchUser | su - <username> | LANG=en_US.UTF8, su - <username> |
| ChangePass | passwd <username> | LANG=en_US.UTF8, passwd <username> |
| ChangePassNoUserName | passwd | LANG=en_US.UTF8, passwd |
| PRSwitchUser | <extrapass3\username> | LANG=en_US.UTF8, su - <extrapass3\username> |
| PRResetPass | passwd <username> | LANG=en_US.UTF8, passwd <username> |
| SudoPasswd | sudo passwd <username> | LANG=en_US.UTF8, sudo passwd <username> |
| PRSwitchUserAfterResetPass | su - <username> | LANG=en_US.UTF8, su - <username> |