NL Dutch
FR French
IT Italian
JP Japanese
DE German
US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

  • Contact Us
English (US)
NL Dutch
FR French
IT Italian
JP Japanese
DE German
US English (US)
ES Spanish
  • Home
  • AutoElevate Knowledgebase
  • Getting Started with AutoElevate

Linux Support, Elevated Sessions & JIT Admin Log In (Beta)

Use Elevated Sessions and configure JIT Admin Log In on Linux (beta).

Written by Daniel Rivera

Updated at October 30th, 2026

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

  • AutoElevate Knowledgebase
    Getting Started with AutoElevate AutoElevate Concepts Admin Portal & Settings Elevation & Blocker Rules Technician Mode & Approvals Deploying via RMM Tools PSA & Ticketing Integrations Other Integrations Troubleshooting AutoElevate FAQ Selling AutoElevate
  • CyberFOX Password Manager Knowledgebase
    Using CyberFOX Password Manager Administrating CyberFOX Password Manager Legacy Password Boss
  • CyberFOX DNS Filtering
    Getting Started with DNS Filtering DNS Filtering Concepts Network Requirements for DNS Filtering DNS Filtering Company and Location Setup Managing your DNS Filtering Policies Using Roaming Clients for DNS Filtering DNS Filtering Reports & Logs DNS Filtering Troubleshooting FAQ
  • Marketing Toolkit
    MSP Marketing & Education Toolkit
  • Changelogs for Autoelevate and Password Boss
  • CyberFOX Product Roadmap
  • Current Status
+ More

Table of Contents

Overview What Linux Supports Known limitations Elevated Sessions on Linux Request a session Approve a request Use and end the session Review past sessions Check status from a script JIT Admin Log In on Linux Configure the account Authorize the approvers Check the host Log in Login failure messages Troubleshooting Read the logs Requests are refused The tray is missing or does not open a terminal Graphical administrator prompts still refuse JIT login shows a password prompt The approver sees Unauthorized Related Articles

Overview


Elevated Sessions give a user temporary root access after a technician approves a request. JIT Admin Log In lets a technician sign in to a dedicated local account through an approval in the AutoElevate mobile app or the Admin Portal.

Warning: Both features grant full root through password-free sudo and, on compatible hosts, polkit. Ending access does not close programs already running as root or undo changes made as root.

 

For installation and removal, see Linux Agent Installation (Beta).

Beta: Commands and screens can change before general availability.

 

 

What Linux Supports


Linux supports Elevated Sessions and JIT Admin Log In. The features marked No below are unavailable on Linux.

Feature Linux
Elevated Sessions Yes
JIT Admin Log In (operating system log in) Yes
Technician Mode No
Auto Blocker and elevation rules No
UAC handling, elevation and blocker modes, remove admin privileges, service restart, ticketing link, duplicate handling No — Windows only

The agent does not intercept individual commands or installers. Users request an Elevated Session for administrator access.

Known limitations

  • JIT Admin Log In uses a local account. Domain login is unavailable.
  • Polkit requires JavaScript rules support, available from version 0.106. Hosts without that support receive only sudo access.
  • If the agent or backend is unavailable, new JIT logins cannot complete.

 

Elevated Sessions on Linux


Request a session

  1. Double-click the AutoElevate tray icon, or run aeagentd in a terminal. The tray opens the same terminal screen.
  2. Check that the screen shows Backend: connected.
  3. Press r. Enter a reason or press Enter to skip it.
AutoElevate request screen with standard privileges

The status changes to awaiting approval. Press w to withdraw the request. Press q to close the screen and leave it pending. The agent withdraws an unanswered request after five minutes when it can contact AutoElevate. During an outage, it keeps the request pending until it can reconcile the result.

Request screen while awaiting approval, with the desktop notification

Hover over the tray icon to see the status. The icon turns red while an Elevated Session is active.

AutoElevate tray icon with standard privileges
AutoElevate tray icon shown in red during an elevated session

Approve a request

Open the request in the AutoElevate mobile app or under Elevation Requests in the Admin Portal. Check the computer, user, and reason. Choose a duration and approve the request.

Elevation Requests in the Admin Portal showing a pending Linux elevated session request

The available durations are 1, 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, and 60 minutes. The technician chooses the duration; the user cannot extend an active session.

Approve Request dialog for a Linux elevated session, with the Duration (Minutes) list

Use and end the session

The screen shows ELEVATED and the time remaining. AutoElevate adds a rule that lets sudo run any command as any user without a password. On compatible hosts, it also authorizes polkit actions.

Request screen during an elevated session, with time remaining

Press e to end the session early. At the end, AutoElevate removes its grants and the screen returns to standard privileges. Programs already running as root and changes made as root remain. A denial shows Request denied.

Request screen after the session has ended

To request more time, end the current session and send a new request. Pressing r during an active session does not send another request.

Review past sessions

In the Admin Portal, open the computer from Computers. Its Elevated Sessions section lists each session's user, who approved it, and how long it lasted.

Check status from a script

aeagentd status

The command reports elevation for the user who runs it, followed by the agent's backend: state. An RMM running as root sees root's elevation state. To check another user, run the command as that user:

sudo -u '<USERNAME>' aeagentd status

Replace <USERNAME> with the user's login name. Running aeagentd without arguments in a pipe also prints status. aeagentd version prints the installed version.

 

JIT Admin Log In on Linux


JIT Admin Log In creates a local account with a locked password. Each login needs an approval. The account stays expired until approval grants access. The JIT account cannot request an Elevated Session.

Configure the account

  1. In Settings, expand Just-in-Time (JIT) Log In and select Just-in-Time (JIT) Log In - Configuration at the level that applies to the computers.
  2. Select Enabled. Enter the Username. Use 1–20 ASCII letters, digits, _, ., or -. Start with a letter, digit, or _, and do not use only digits. The names root, daemon, bin, sys, and nobody are refused without regard to case.
  3. Use a name that does not belong to an unrelated account on the hosts. AutoElevate leaves such an account alone and cannot provide JIT login under that name. Run sudo aeagentd status or read the service log to find the refusal reason. The portal does not show that refusal. The portal's note that an existing user's password is overridden applies to Windows.
  4. Leave Credential Tile Label Override, Delete User After Every Log Off, and Domain Log In Enabled unchanged. Linux ignores them.
  5. Select Save.
Edit Just-in-Time (JIT) Log In - Configuration dialog in the Admin Portal

The agent retrieves the enabled state and account name from AutoElevate. Renaming or disabling the setting revokes the old account's access and expires it. The account, home directory, and existing processes remain.

Authorize the approvers

  1. In Settings, select Just-in-Time (JIT) Log In - Authorizations.
  2. Expand an authorization, or select Add Authorization.
  3. Under Roles or Users, add the technician's role or user.
  4. Under Local Groups, type sudo in Add Local Group… and select +. Do the same for wheel, or select that panel's All checkbox.
  5. Leave Domains empty.
  6. Select Save.
Edit Just-in-Time (JIT) Log In - Authorizations dialog with the Roles, Local Groups, Users and Domains panels

The host offers sudo if that local group exists in /etc/group; otherwise it offers wheel. A host with neither cannot send a JIT login request. An entry listing only Windows Administrators does not authorize Linux.

Warning: Approval grants unrestricted administrator access through AutoElevate's rules. The account does not join sudo or wheel, and restrictions on those groups do not limit the grant. Group names are shared with Windows: these entries also apply to Windows groups named sudo or wheel.

 

Check the host

The installer adds PAM blocks to the configured login services and an SSH drop-in at /etc/ssh/sshd_config.d/00-autoelevate-jit-admin.conf. The drop-in enables keyboard-interactive authentication only for the autoelevate-jit group.

For SSH, check that /etc/ssh/sshd_config includes /etc/ssh/sshd_config.d/*.conf and that UsePAM yes is effective. The installer warns if the Include line is missing. Do not enable keyboard-interactive authentication globally for this feature.

Warning: For an approved JIT login, AutoElevate replaces the host's PAM auth checks, including MFA modules and lockout counting. PAM account checks still run. Other accounts use the host's native authentication.

 

Log in

  1. Connect over SSH or use a configured console or graphical login service. Enter the managed username.
  2. At the AutoElevate prompt, press Enter to send the request.
  3. Open the request in the AutoElevate mobile app and tap Approve, or approve it under Elevation Requests in the Admin Portal. The approval grants the host's single authorized local group.

Mobile app: Approving JIT Admin Log In requests on a phone currently needs the beta version of the AutoElevate mobile app. Until it reaches the production app, approve them under Elevation Requests in the Admin Portal.

Just-in-Time Log In prompt shown at login for the managed account
Request Detail in the AutoElevate app for a Linux Just-in-Time Log In request, with Approve and Deny buttons

Over SSH, the approval wait has no visible progress. The default approval timeout is 100 seconds, including time spent at the confirmation prompt. A shorter host timeout can end the login sooner. If the wait ends, log in again to send a new request that needs a new approval. Changes to /etc/pam.d/autoelevate are replaced on upgrade.

Approve only requests you started. Repeated login attempts send repeated approval requests.

Rights apply to the account, including its other processes, while JIT access is active. An unused approval can authorize the account for five minutes, including after desktop unlock without a new session. AutoElevate removes its rules and expires the account when no active session or unused approval remains. An SSH ControlMaster connection can keep the session open after its shell exits.

Shell after an approved Just-in-Time login, with sudo available
Desktop after a Just-in-Time login at the graphical login screen

Programs already running continue. A later approved login gives the account's remaining processes administrator rights again. An agent restart revokes JIT administrator rights for open logins; log in again with a new approval.

Uninstall revokes access and expires the account but keeps its home directory and processes. See Uninstalling in Linux Agent Installation (Beta).

Login failure messages

Offline and backend-rejection messages can include further details in parentheses.

Message Meaning or action
Just-in-Time Log In request was denied. A technician denied the request, or it was withdrawn.
Just-in-Time Log In request expired before it was approved. The request expired. Send a new request.
Timed out waiting for approval. Log in again to send a new request. The module stopped waiting. Log in again.
AutoElevate backend is not reachable. The request was not sent. Check outbound connectivity and the service log.
AutoElevate backend rejected the request. Read the service log for the rejection reason.
AutoElevate is disabled for this organization. Contact your administrator. AutoElevate is disabled for the organization.
Just-in-Time Log In is not available on this computer: it has no sudo or wheel group for an approver to authorize. Have the host administrator check the local groups in /etc/group.
Just-in-Time Log In failed on this host. Ask an administrator to check the AutoElevate agent. Check the service and authentication logs.

 

Troubleshooting


Read the logs

Have a host administrator read the service log:

sudo journalctl -u autoelevate-agent -f

For PAM, check the host's authentication log for pam_autoelevate: entries. The distribution's logging configuration determines the file or journal destination.

Requests are refused

Run aeagentd status. If the backend: line does not read connected, follow the connection checks in Linux Agent Installation (Beta). A running service alone does not establish registration or connectivity.

The tray is missing or does not open a terminal

Check that the panel provides StatusNotifierItem support. The tray retries every two seconds while it waits for the panel. Run aeagentd in any terminal to use the request screen directly.

If no supported terminal starts, the tooltip says No terminal found. Run aeagentd in a terminal.

Graphical administrator prompts still refuse

Check that the host's polkit supports JavaScript rules. Without that support, AutoElevate provides only sudo access.

JIT login shows a password prompt

Check that JIT Admin Log In is enabled for this computer. Run sudo aeagentd status and read any JIT Admin: refusal. Check the SSH Include line, effective PAM settings, and the selected login service's AutoElevate block. An unavailable agent causes a managed JIT login to fail; it does not intentionally fall back to password login.

The approver sees Unauthorized

Check the technician's user or role in Just-in-Time (JIT) Log In - Authorizations. The entry must authorize the offered local group, with Domains empty. A login cannot complete unless an authorized technician approves it.

 

Related Articles


  • Linux Agent Installation (Beta)
  • macOS Support & Elevated Sessions
  • Just-in-Time (JIT Admin Login)
linux elevated session linux request elevated session jit admin log in linux just-in-time login linux ssh approval kbdinteractiveauthentication pam_autoelevate sudo polkit sudoers.d aeagentd status awaiting approval withdraw request end session session duration applies to all local groups jit authorization timed out waiting for approval ae-tray tray icon missing appindicator gnome technician mode linux psa notes linux linux limitations linux beta add local group

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • System Overview – How It Works
  • System Overview – System Agent
  • System Agent Installation
  • Firewall Whitelisting (AutoElevate)
  • AutoElevate Notify App for Mobile Devices
CyberFOX

PRACTICAL CYBERSECURITY FOR LEAN IT TEAMS

Platforms
  • Privileged Access Management
  • Password Management
  • DNS Filtering
  • SASE
Industry
  • Higher Education
  • K-12 Education
  • State and Local Government
  • Manufacturing
Company
  • About
  • Awards
  • Partnerships
  • Trust & Legal
  • Contact
  • Login
  • FAQ
  • Referral Program
  • Support
© 2026 CYBERFOX LLC ALL RIGHTS RESERVED | Privacy Policy | Terms of Service | Sitemap
Expand