When accessing a target via PSMP and launching a tool such as nmtui the text is illegible

When accessing a target via PSMP and launching a tool such as nmtui the text is illegible

91
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:54 PM


Symptom


When accessing a target via PSMP and launching a tool such as nmtui the text is illegible.

 

The issue can be caused by combination of nmtui's usage of ">" sign in its text-based interface for buttons and command prompt detection's default configuration.

In some situations, nmtui draws the ">" sign as the last character visible to PSMP, then, by pressing Enter key for confirmation/button press, PSMP treats the drawn interface as a disallowed or malformed multiline command - communicating a warning in the process.



Environment


12.6;13.2;14.0;14.4 Privileged Access Manager (PAM, self-hosted) PSMP

Resolution


To prevent such behavior from occurring, you should (in global or at platform/policy level) adapt the regular expression contained in "ShellPromptForAudit" parameter to either completely ignore prompts ending in ">" sign, or to restricts context in which it is matched.

For example:

Default ShellPromptForAudit is as follows: (.*)[>#\\$]$
Example ShellPromptForAudit not triggering the issue with nmtui: (.*)[#\\$]$

 

You either need to restart the PSMP service or wait ten minutes for the configuration changes to take effect. 



Actions
  • Print
  • Copy Link

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