Run Command as Root - Elevate Privileges | Online Free DevTools by Hexmos
Elevate privileges instantly with Run Command as Root. Execute commands as root or another user via polkit, using systemd service. Free online tool, no registration required.
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/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}}