PSM/P-SSH - AutoLogonSequence Alternative Use-cases

PSM/P-SSH - AutoLogonSequence Alternative Use-cases

87
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:08 PM


Objective


AutoLogonSequence Alternative Use-cases: 

- Changing default/banned elevation commands.
- Root Elevation Without "Logon To" Mechanism
- Automating Target Command Execution



Environment


12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSMP;Privileged Session Management (PSM)

Procedure


Note: The AutoLogonSequence content will be executed on the target server.

Configuring AutoLogonSequence in PVWA

Steps:

1. Navigate to Connection Components in PVWA:

  • Go to UI & Workflows and expand Connection Components.
  • The Connection Component parameters and their default values will be displayed.

2. Add the AutoLogonSequence Parameter:

  • Select PSMP-SSH.
  • Expand Target Settings, then expand Client Specific.
  • Right-click Client Specific parameters, then select Add Multiline Parameter.
  • In the Properties list, set the Name property to AutoLogonSequence.
 

Enabling Root Elevation Without "Logon To" Mechanism

To enable users to elevate privileges to root:

1. Add Target User as a Sudoer:

  • Run the following command on the target machine:
sudo usermod -aG sudo <username>

2. Edit the Value Property:

  • In the Properties list, set the Value property as follows:
$>Root elevation command (non-restricted in your environment)
$>{Password}
 

Automating Target Command Execution

To set up automated command execution on the target server:

1. Edit the Value Property:

  • In the Properties list, set the Value property to include the target commands:
$>Command #1
$>Command #2
...

 



Actions
  • Print
  • Copy Link

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