sudo, pkexec, doas, run0: refer to each other. (#19281)

This commit is contained in:
Managor
2025-11-09 09:54:45 +02:00
committed by GitHub
parent 1b51e3a512
commit 06a6fb88c7
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
# doas
> Execute a command as another user.
> See also: `sudo`, `pkexec`, `run0`.
> More information: <https://man.openbsd.org/doas>.
- Run a command as root:
+1
View File
@@ -1,6 +1,7 @@
# sudo
> Execute a single command as the superuser or another user.
> See also: `pkexec`, `run0`, `doas`.
> More information: <https://www.sudo.ws/sudo.html>.
- Run a command as the superuser:
+1
View File
@@ -2,6 +2,7 @@
> Execute commands as another user.
> Asks for password in a GUI if available.
> See also: `sudo`, `run0`, `doas`.
> More information: <https://polkit.pages.freedesktop.org/polkit/pkexec.1.html>.
- Run command as root:
+1
View File
@@ -2,6 +2,7 @@
> 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.
> See also: `sudo`, `pkexec`, `doas`.
> More information: <https://www.freedesktop.org/software/systemd/man/run0.html>.
- Run a command as root: