Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pages/common/doas.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions pages/common/sudo.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions pages/linux/pkexec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions pages/linux/run0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down