table of contents
other sections
| RUN0-SUDO(1) | User Commands | RUN0-SUDO(1) |
NAME¶
run0-sudo - execute a command as another user via run0
SYNOPSIS¶
run0-sudo {-h | -K | -k | -V}
run0-sudo -v [-g group] [-u user]
run0-sudo [-E -H -k -N -n -P] [-D directory] [-g group] [-u user] [VAR=value...] [-i | -s] [command [arg...]]
DESCRIPTION¶
run0-sudo is a wrapper around run0(1). It tries to emulate the sudo(8) behavior as good as possible.
OPTIONS¶
-D, --chdir=directory
Change the working directory.
-E, --preserve-env, --preserve-env=list
Preserve user environment or preserve specific
environment variables if a list is provided.
-g, --group=group
Run command as specified group or GID.
-H, --set-home
Set HOME variable, default with run0.
-h, --help
Display help text and exit.
-i, --login
Run login shell as the target user.
-K, --remove-timestamp
Invalidate polkit keep.
-k, --reset-timestamp
Invalidate polkit keep.
-s, --shell
Run the specified shell.
-u, --user=user
Run command as specified user or UID.
-V, --version
Display version and exit.
-v, --validate
Update timestamp without running a command.
SEE ALSO¶
| 01/09/2026 | run0-wrappers 0.4.0 |