systemd-run
Shell
This executable can spawn an interactive system shell.
- This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.systemd-run -S - This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.systemd-run -t /bin/sh
Command
This executable can run non-interactive system commands.
- This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.systemd-run /path/to/command