diff --git a/pages/linux/run0.md b/pages/linux/run0.md new file mode 100644 index 000000000..82bf195b8 --- /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}}`