FICHA · AUR

xdg-su

Run a program as root with the most environment appropriate available graphical authentication agent

  • cli-tool
  • CLI
  • SECURITY
  • DESKTOP
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 30, 2026 description in en

Description

Graphical privilege prompts can be used to start a program as root through an authentication agent appropriate for the current desktop. This is useful for desktop tools that need administrative rights without forcing a terminal-only sudo flow.

Running graphical programs as root can modify system files and expose privileged access to the launched app. Use it only for trusted programs and clear administrative tasks.

How to run

xdg-su

Commands: xdg-su

Permissions

Permissions not analysed for this source yet.