CPM Unix passwords receiving Execution error. Error: Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received "Re-type new password:" in debug log
135
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 12:56 PM
Symptom
A Unix password receives a 7001 error upon change. The following error is generated in debug.log
Execution error. Error: Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received "Re-type new password:" but expect one of "{Please try again|Try again|BAD PASSWORD:|Passwords must differ|too short|too similar|Password must contain .*|The required password characteristics are:.*|Password was recently used .*|Password unchanged|Error changing password} {Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:}". code: 7001
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;11.9;11.8 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) CPM
Unix
Cause
The prompt "Re-type new password:" received from the target server is not in the UnixPrompts.ini.
In the UnixPrompts.ini file look for the following entry:
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:
CPM process will look at the first entry, if it does not match the pipe(|)will lead to the next entry, until a match is found.
"Re-type new password:" is not present
Resolution
Add the received prompt to the end of the VerifyNewPassword section:
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:|Re-type new password:
The CPM logic will now be able to find the prompt and proceed to change the password.
Additional Information
Details
SYMPTOM:
A Unix password receives a 7001 error upon change. The following error is generated in debug.log:
A Unix password receives a 7001 error upon change. The following error is generated in debug.log:
Execution error. Error: Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received "Re-type new password:" but expect one of "{Please try again|Try again|BAD PASSWORD:|Passwords must differ|too short|too similar|Password must contain .*|The required password characteristics are:.*|Password was recently used .*|Password unchanged|Error changing password} {Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:}". code: 7001
PROBLEM:
The prompt "Re-type new password:" received from the target server is not in the UnixPrompts.ini.
In the UnixPrompts.ini file look for the following entry:
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:
CPM process will look at the first entry, if it does not match the pipe(|)will lead to the next entry, until a match is found.
"Re-type new password:" is not present
SOLUTION:
Add the received prompt to the end of the VerifyNewPassword section:
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Re-enter root's new password:|Retype new password:|Retype new UNIX password:|Reenter New Password:|Re-type new password:
The CPM logic will now be able to find the prompt and proceed to change the password.