PSM - 059E Failed to execute login sequence
187
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:01 PM
Symptom
An error received when attempting to log-on using an AutoLogonSequenceWithLogonAccount, which is the mechanism used for logging-on PSM Connections that require a root account.
Reason: 059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred (Codes: -1, -1)
Reason: 059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred (Codes: -1, -1)
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM
Cause
The error is received, when the incoming prompt doesn't match the defined regular expression.
The default is:
==
\[.*\@.* ~]\$ >exec su - {Username}
Password:>{Password}
==
==
Resolution
Change the regex to a more inclusive value.
For Prompts ending with the # character (Usually AIX machines): .*\#
For Prompts ending with the $ character (Usually Unix and Linux): .*\$
Note: It is less recommended to use the inclusive RegEx due to security concerns, therefore it is not applied for general use, and should be used only when the default or a specific value fail.
Additional Information
Details
SYMPTOM:
An error received when attempting to log-on using an AutoLogonSequenceWithLogonAccount, which is the mechanism used for logging-on PSM Connections that require a root account.
"Reason: 059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred (Codes: -1, -1)"
PROBLEM:
The error is received, when the incoming prompt doesn't match the defined regular expression.
The default is:
\[.*\@.* ~]\$ >exec su - {Username}
Password:>{Password}
SOLUTION:
Change the regex to a more inclusive value.
For Prompts ending with the # character (Usually AIX machines): .*\#
For Prompts ending with the $ character (Usually Unix and Linux): .*\$
Note: It is less recommended to use the inclusive RegEx due to security concerns, therefore it is not applied for general use, and should be used only when the default or a specific value fail.