logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Runuser - Execute Commands as Different User | Online Free DevTools by Hexmos

Execute commands with runuser as another user. Manage user permissions and execute specific commands using different user accounts. Free online tool, no registration required.

runuser

Run commands as a user and group without asking for password (needs root privileges). More information: https://manned.org/runuser.

  • Run command as a different user:

runuser {{user}} {{[-c|--command]}} '{{command}}'

  • Run command as a different user and group:

runuser {{user}} {{[-g|--group]}} {{group}} {{[-c|--command]}} '{{command}}'

  • Start a login shell as a specific user:

runuser {{user}} {{[-l|--login]}}

  • Specify a shell for running instead of the default shell (also works for login):

runuser {{user}} {{[-s|--shell]}} {{/bin/sh}}

  • Preserve the entire environment of root (only if --login is not specified):

runuser {{user}} {{[-p|--preserve-environment]}} {{[-c|--command]}} '{{command}}'

See Also