When attempting to connect to a remote Unix system using PSM and a Logon account, connection fails due to unrecognized prompt. in Multiple prompt environment

When attempting to connect to a remote Unix system using PSM and a Logon account, connection fails due to unrecognized prompt. in Multiple prompt environment

111
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:59 PM


Symptom


When attempting to connect to a remote Unix system using PSM and a Logon account, connection fails due to unrecognized prompt.


Environment


11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM
Linux Targets


Cause


By default the AutoLogonSequenceWithLogonAccount only accepts Password: as a valid prompt after the su root command is issued. \$|#>su root Password:>{Password}


Resolution


Add a second prompt to AutoLogonSequenceWithLogonAccount in order to support multiple login prompts.  A | between the prompts will enable this. This property can be found under Administration -> Options -> Connection components -> <component> -> Target settings -> client-specific.
For example, change:
\$|#>su root Password:>{Password}
to:
\$|#>su root Password:|Mot de passe : >{Password}
Note: Regular expressions do not have implicit .* in them, so in the example above French prompt has a space before and after ':'.


Additional Information


Details

SYMPTOM:
 
When attempting to connect to a remote Unix system using PSM and a Logon account, connection fails due to unrecognized prompt.
 
PROBLEM:
 
By default the AutoLogonSequenceWithLogonAccount only accepts Password: as a valid prompt after the su root command is issued.  \$|#>su root Password:>{Password}
 
SOLUTION:
 
Add a second prompt to AutoLogonSequenceWithLogonAccount in order to support multiple login prompts.  A | between the prompts will enable this. This property can be found under Administration -> Options -> Connection components -> <component> -> Target settings -> client-specific.
 
For example, change:
 
\$|#>su root Password:>{Password}
 
to:
 
\$|#>su root Password:|Mot de passe : >{Password}
 
Note: Regular expressions do not have implicit .* in them, so in the example above French prompt has a space before and after ':'.
 



Actions
  • Print
  • Copy Link

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