OS Manuals

/usr/bin/run0

The systemd System and Service Manager

From systemd 262.2-r1 (os), captured 2026-11-05 by running run0 --help (exit 0). permalink

> run0 [OPTION…] COMMAND [ARGUMENTS…]

Elevate privileges interactively.

Options:
  -h --help                       Show this help
  -V --version                    Show package version
     --no-ask-password            Do not prompt for password
  -n --non-interactive            Do not prompt for password
     --no-pager                   Do not start a pager
     --machine=CONTAINER          Operate on local container
     --unit=UNIT                  Run under the specified unit name
     --property=NAME=VALUE        Set service or scope unit property
     --description=TEXT           Description for unit
     --slice=SLICE                Run in the specified slice
     --slice-inherit              Inherit the slice
  -k --reset-timestamp            Revoke temporary authorization in polkit
  -K --remove-timestamp           Revoke all temporary authorizations for this user session in
                                  polkit
  -v --validate                   Request temporary authorization from polkit
  -u --user=USER                  Run as system user
  -g --group=GROUP                Run as system group
     --nice=NICE                  Nice level
  -D --chdir=PATH                 Set working directory
     --via-shell                  Invoke command via target user's login shell
  -i                              Shortcut for --via-shell --chdir='~'
     --setenv=NAME[=VALUE]        Set environment variable
     --background=COLOR           Set ANSI color for background
     --pty                        Request allocation of a pseudo TTY for stdio
     --pty-late                   Just like --pty, but leave TTY access to agents until unit is
                                  started up
     --pipe                       Request direct pipe for stdio
     --shell-prompt-prefix=PREFIX Set $SHELL_PROMPT_PREFIX
     --lightweight=BOOLEAN        Control whether to register a session with service manager or
                                  without
     --area=AREA                  Home area to log into
     --empower                    Give privileges to selected or current user

See the run0(1) man page for details.
Options (28)
OptionDescriptionSource
-h --helpShow this helphelp
-V --versionShow package versionhelp
--no-ask-passwordDo not prompt for passwordhelp
-n --non-interactiveDo not prompt for passwordhelp
--no-pagerDo not start a pagerhelp
--machine CONTAINEROperate on local containerhelp
--unit UNITRun under the specified unit namehelp
--property NAME=VALUESet service or scope unit propertyhelp
--description TEXTDescription for unithelp
--slice SLICERun in the specified slicehelp
--slice-inheritInherit the slicehelp
-k --reset-timestampRevoke temporary authorization in polkithelp
-K --remove-timestampRevoke all temporary authorizations for this user session in polkithelp
-v --validateRequest temporary authorization from polkithelp
-u --user=USERRun as system userhelp
-g --group=GROUPRun as system grouphelp
--nice NICENice levelhelp
-D --chdir=PATHSet working directoryhelp
--via-shellInvoke command via target user's login shellhelp
-iShortcut for --via-shell --chdir='~'help
--setenv NAME[=VALUESet environment variablehelp
--background COLORSet ANSI color for backgroundhelp
--ptyRequest allocation of a pseudo TTY for stdiohelp
--pty-lateJust like --pty, but leave TTY access to agents until unit is started uphelp
--pipeRequest direct pipe for stdiohelp
--lightweight BOOLEANControl whether to register a session with service manager or withouthelp
--area AREAHome area to log intohelp
--empowerGive privileges to selected or current userhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.