Skip to content

Commit 06a6fb8

Browse files
authored
sudo, pkexec, doas, run0: refer to each other. (#19281)
1 parent 1b51e3a commit 06a6fb8

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

pages/common/doas.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# doas
22

33
> Execute a command as another user.
4+
> See also: `sudo`, `pkexec`, `run0`.
45
> More information: <https://man.openbsd.org/doas>.
56
67
- Run a command as root:

pages/common/sudo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# sudo
22

33
> Execute a single command as the superuser or another user.
4+
> See also: `pkexec`, `run0`, `doas`.
45
> More information: <https://www.sudo.ws/sudo.html>.
56
67
- Run a command as the superuser:

pages/linux/pkexec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
> Execute commands as another user.
44
> Asks for password in a GUI if available.
5+
> See also: `sudo`, `run0`, `doas`.
56
> More information: <https://polkit.pages.freedesktop.org/polkit/pkexec.1.html>.
67
78
- Run command as root:

pages/linux/run0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
> Elevate privileges interactively.
44
> Similar to `sudo`, but it's not a SUID binary, authentication takes place via polkit, and commands are invoked from a `systemd` service.
5+
> See also: `sudo`, `pkexec`, `doas`.
56
> More information: <https://www.freedesktop.org/software/systemd/man/run0.html>.
67
78
- Run a command as root:

0 commit comments

Comments
 (0)