Control root access and credential sharing | Pathfinder

Endpoint Privilege Management A workflow for EPM for Linux

Shared root credentials and standing root access make it hard to control or audit who changes what on your Linux servers. One stolen credential can hand an attacker the whole server. Delegating single commands through policy-controlled elevation removes that risk and still lets people do their jobs.

Scope of this guide

This guide shows you how to eliminate credential sharing and control who can gain root access on Linux servers. You do this by dynamically elevating privileges for standard users instead of granting standing root access. Plan for about 5 hours to complete all 4 tasks.

Prerequisites

  • Endpoint Privilege Management for Linux (EPM for Linux) is licensed and available to you
  • Target Linux hosts run RPM, Debian, or Ubuntu, and are reachable from Pathfinder.
  • You have a deployment token for the client installation.
  • You have root or sudo access on each target host so you can install the client.

Steps

Step 1: Enroll the client

  1. From the menu, select Installers to open the Installers page.
  2. Select Rebuild Packages, and choose the epml-client package for your target distribution (RPM, Debian, or Ubuntu).
  3. Retrieve the deployment token required to install the package.
  4. Copy the installation and activation commands the page generates.
  5. Install the package on each target Linux host using your deployment token.
  6. Activate the installation on each host, then run pbrun once so the endpoint registers.
  7. From the menu, select Endpoint Management, and confirm each host displays a healthy, active status.

Step 2: Take an inventory of root and privileged access

  1. On each pilot host, open the current sudoers file, then note who has sudo or root access today.
  2. Record any shared root or service-account credentials that the pilot hosts use.
  3. List the commands and administrative tasks that need root today.
  4. Note the role or user that needs each command, so you can map it to policy.
  5. Choose the users who move to delegated elevation first.

Step 3: Create the elevation policy

  1. From the menu, select Policy to open the Role Based Policy page.
  2. Select the Roles tile, select Start Policy Edits, then enter a reason for the change.
  3. Select Add Role, enter a role name such as Root Access Baseline and description, then select Create And Edit the Role.
  4. On the Who, What, and Where tabs, allow the users you chose in Step 2 to run the commands you listed there with elevated rights through pbrun.
  5. Add a rule that limits or removes standing root login for those users.
  6. Select Save.

Step 4: Pilot and validate root control

  1. From the menu, select Policy, then open the role you created in Step 3.
  2. Assign the policy to the pilot endpoint group.
  3. On a pilot host, ask a pilot user to run each approved command through pbrun, then confirm each one elevates.
  4. Try a direct root login, then confirm it is blocked or limited.
  5. From the menu, select Audit > Events, then confirm the elevation activity is logged for the pilot hosts.

Verify the results

Confirm that pilot users can run approved commands through pbrun without full root access. Confirm that direct root login is blocked and that elevation events appear in Audit > Events.

Next steps

  • Expand the role and the root login restriction to more Linux hosts after the pilot passes.

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.