CPM - AIX - Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received. code: 7001
Symptom
The AIX Server returns the prompt "Re-enter root's new password:". This prompt is not in the Cyber-Ark Prompts file, so there is an eventual timeout. This can be seen in the Expect log. For example:
STATE: ChangePassNewPass
*******************************
send: sending "****\r" to { exp4 }
expect: does "" (spawn_id exp4) match regular expression "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"? no
"Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:"? no
Re-enter root's new password:
expect: does "\nRe-enter root's new password:" (spawn_id exp4) match regular expression
"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"? no
"Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:"? no
expect: timed out
Environment
11.5;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Cause
Response from target not matching what we defined.
Resolution
In the Unixprompts.ini, add the partial expected prompt of "re-enter root" to the "VerifyNewpassword" parameter. For example:
Change to ...
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:|Enter new password \(again\):|Re-enter .*new password:
Additional Information
Details
SYMPTOM:
Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received. code: 7001
PROBLEM:
The AIX Server returns the prompt "Re-enter root's new password:". This prompt is not in the Cyber-Ark Prompts file, so there is an eventual timeout. This can be seen in the Expect log. For example:
STATE: ChangePassNewPass
*******************************
send: sending "****\r" to { exp4 }
expect: does "" (spawn_id exp4) match regular expression "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"? no
"Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:"? no
Re-enter root's new password:
expect: does "\nRe-enter root's new password:" (spawn_id exp4) match regular expression
"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"? no
"Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:"? no
expect: timed out
SOLUTION:
In the Unixprompts.ini, add the partial expected prompt of "re-enter root" to the "VerifyNewpassword" parameter. For example:Change to ...
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:|Enter new password \(again\):|Re-enter .*new password: