Skip to content

Administrator Mode

ilyamiro edited this page Nov 2, 2026 · 1 revision

Administrator mode opens a folder in a second Ski that runs as root. It is for browsing and editing system files, such as those in /etc.

Opening it

Where Entry
Main menu Open as administrator (for the open folder)
Context menu of the empty part of the listing Open as administrator
Context menu of a folder Open in → Administrator

The action has no default shortcut. Assign one in Settings → Keybindings → Open as administrator.

How it works

  1. Ski runs pkexec, the polkit tool for graphical programs.
  2. The polkit agent of the desktop asks for the password. Ski does not see it.
  3. A new Ski window opens as root on the folder. Its title is "Ski (Administrator)".

The root window reads the settings of the user who started it (theme, view, keybindings), but never writes them, so root leaves no files in the user's home. Changes made to settings in the root window last until it closes.

Running Open as administrator from a root window does nothing; it says "Ski already runs as administrator".

Requirements

  • pkexec (the polkit package). Without it Ski says "pkexec was not found. Install polkit to use administrator mode".
  • A running polkit agent. Most desktops start one. On a bare window manager, start one yourself, for example polkit-gnome-authentication-agent-1 or lxqt-policykit-agent. Without an agent Ski says "Could not get administrator rights. Is a polkit agent running?".

Clone this wiki locally