Record elevated sessions

Endpoint Privilege Management A workflow for EPM for Linux

Elevated sessions carry the most risk on your Linux hosts. If you cannot see what a user did with root access, you cannot prove a change was safe or trace a problem back to its source. Session recordings and keystroke logs give you a full, replayable record of elevated activity for review and accountability.

Scope of this guide

This workflow shows you how to record elevated sessions in Endpoint Privilege Management for Linux (EPM-L), confirm the recordings appear in Search and Replay, replay them, and set up a regular review process. It is part of the hardening phase of [LINK: parent guide or previous workflow] and takes about 2 hours and 30 minutes.

Prerequisites

  • You can sign in to app.beyondtrust.io, and you have the policyadmin role in EPM-L to edit policy.
  • Your reviewers have the auditor role in EPM-L, so they can open Search and Replay.
  • You have a pilot host with the EPM-L client installed and activated.
  • You have a pilot user who is assigned to a role and can run elevated commands through pbrun.
  • You have told users that their elevated sessions are recorded, in line with your organization's privacy and legal requirements.

Steps

Step 1: Turn on session replay for a role

Session replay saves an I/O log for each elevated session. An I/O log records everything the user types (keystrokes), plus the output and errors the session shows. You turn on session replay for each role whose sessions you want to record.

  1. Sign in to app.beyondtrust.io.

  2. From the menu, select Endpoint Privilege Management for Linux > Policy. The Role Based Policy page displays.

  3. Select the Roles tile.

  4. Select Start Policy Edits.

  5. Enter a reason for the changes, such as Turn on session replay, and then select Continue Editing.

  6. Find the role that controls elevated sessions. Select its menu icon, and then select Edit Role.

  7. Select Session Replay.

  8. Turn on Session Replay. The Preview section shows where EPM-L saves the I/O logs.

  9. Select Save.

  10. Repeat these actions for each role with elevated privileges.

Step 2: Commit the policy change

Your change is not live until you commit it.

  1. Select Review Policy Edits. The Transaction Summary page lists the roles you changed.
  2. Confirm that the list includes every role you changed in Step 1.
  3. Select Commit Policy Edits. Session replay is now active for those roles.

Step 3: Confirm recordings appear

  1. On the pilot host, sign in as the pilot user and run a short elevated session through pbrun.
  2. From the menu, select Endpoint Privilege Management for Linux > Search and Replay.
  3. Use the Date Range, Submit User, and Run Host filters to find the session you just ran.
  4. Confirm that the session appears in the list.
  5. Note how long the session takes to appear, so reviewers know when new sessions become available.

Step 4: Replay a session

  1. In Search and Replay, select the Play icon for the session you found in Step 3. The Sessions page displays.
  2. Select the Playback icon. The Session Replay page displays.
  3. Select Interactive Playback, and step through the session.
  4. To find sessions that ran a specific command, use the Run Command filter in Search and Replay.
  5. To keep a copy for an audit or investigation, select Download, and then select JSON File or CSV File.

Step 5: Set a review schedule

This step turns session review into a repeatable control rather than a one-time check.

  1. Decide which session types need routine review, such as root-level sessions or production changes.
  2. Set how often reviews take place, based on your compliance requirements.
  3. Assign a named owner to each review.
  4. Define how reviewers record findings and exceptions, and who they escalate them to.
  5. Decide how long you keep downloaded session records, based on your compliance requirements.
  6. Document the review process so anyone can repeat it.

Verify the results

  • Confirm that new elevated sessions on your pilot host appear in Search and Replay.
  • Confirm that a reviewer can replay a session, find sessions by command, and rebuild exactly what happened.
  • Confirm that each scheduled review has a named owner and a documented process.

Next steps

Related resources


©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.