mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 02:02:07 +02:00

* run0: add page * run0: add backticks around systemd Co-authored-by: spageektti <git@spageektti.cc> --------- Co-authored-by: spageektti <git@spageektti.cc>
450 B
450 B
run0
Elevate privileges interactively. Similar to
sudo
, but it's not a SUID binary, authentication takes place via polkit, and commands are invoked from asystemd
service. More information: https://www.freedesktop.org/software/systemd/man/latest/run0.html.
- 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}}