PSM: SSH Access for 'root' user

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
2 min read
L3 Networker
No ratings
It is considered to be a best practice to restrict *NIX 'root' accounts from being able to access a target server directly with SSH. However, this creates an issue in the PAS solution since vaulted root accounts need access from time to time for system maintenance.

The following process illustrates how this can be done.

Issue

Hello Support, I want to integrate the account root of some servers to access by ssh, but the login of ssh with root account is disabled. so, it's probably that first with PSM access with x user (ssh permissions) into the server and then PSM type "su" and then inyect root password. The customer wants to avoid allow the access by ssh to root user. I hope your prompt response. Best Regards, Fiorella Pizarro

Environment

PSM Networking & Connectivity

Steps

Overview: To access a *NIX target system with a root account, a logon account must be associated with the root account.

1. On the *NIX system, create a standard user that will be able to log into the system. This must be the same system where the desired root account is located
2. Add the user created in the previous step to the vault.
   a. After adding the user, it is recommended to verify the password
3. On the PVWA, navigate to the desired root account.
4. Associate the logon account (step 1) to the root account
5. Test this by a PSM-SSH connection (PSMP can also be used)

More information is located here: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Using-Logon-Accounts-f...
 
Rate this article: