mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
sudo, pkexec, doas, run0: refer to each other. (#19281)
This commit is contained in:
@@ -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,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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user