Linux Support, Elevated Sessions & JIT Admin Log In (Beta)
Use Elevated Sessions and configure JIT Admin Log In on Linux (beta).
Table of Contents
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
sudoaccess. - If the agent or backend is unavailable, new JIT logins cannot complete.
Elevated Sessions on Linux
Request a session
- Double-click the AutoElevate tray icon, or run
aeagentdin a terminal. The tray opens the same terminal screen. - Check that the screen shows
Backend: connected. - Press
r. Enter a reason or press Enter to skip it.

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.

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


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.

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.

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.

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.

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 statusThe 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 statusReplace <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
- 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.
- 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 namesroot,daemon,bin,sys, andnobodyare refused without regard to case. - 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 statusor 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. - Leave Credential Tile Label Override, Delete User After Every Log Off, and Domain Log In Enabled unchanged. Linux ignores them.
- Select Save.

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
- In Settings, select Just-in-Time (JIT) Log In - Authorizations.
- Expand an authorization, or select Add Authorization.
- Under Roles or Users, add the technician's role or user.
- Under Local Groups, type
sudoin Add Local Group… and select +. Do the same forwheel, or select that panel's All checkbox. - Leave Domains empty.
- Select Save.

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
- Connect over SSH or use a configured console or graphical login service. Enter the managed username.
- At the AutoElevate prompt, press Enter to send the request.
- 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.


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.


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