From cbc9d663cff391bbe890a2821b94b2acad7f9ff7 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:07:46 +0200 Subject: [PATCH] run0: add page (#13263) * run0: add page * run0: add backticks around systemd Co-authored-by: spageektti --------- Co-authored-by: spageektti --- pages/linux/run0.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/linux/run0.md diff --git a/pages/linux/run0.md b/pages/linux/run0.md new file mode 100644 index 0000000000..82bf195b87 --- /dev/null +++ b/pages/linux/run0.md @@ -0,0 +1,13 @@ +# run0 + +> Elevate privileges interactively. +> Similar to `sudo`, but it's not a SUID binary, authentication takes place via polkit, and commands are invoked from a `systemd` service. +> More information: . + +- Run a command as root: + +`run0 {{command}}` + +- Run a command as another user and/or group: + +`run0 {{-u|--user}} {{username|uid}} {{-g|--group}} {{group_name|gid}} {{command}}`