CPM - AIX - Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received. code: 7001

CPM - AIX - Invalid prompt or did not receive any prompt. State: "ChangePassNewPass". Received. code: 7001

125
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM


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:
 
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:|Enter new password \(again\):

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:
 
VerifyNewPassword=Re-enter new Password:|Enter the new password again:|Retype new password:|Retype new UNIX password:|Enter new password \(again\):

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:



Actions
  • Print
  • Copy Link

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