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

Execute Command as User - Control Privileges with doas | Online Free DevTools by Hexmos

Execute commands as user with doas. Control user privileges and manage system access with this versatile command. Free online tool, no registration required.

doas

Execute a command as another user. More information: https://man.openbsd.org/doas.

  • Run a command as root:

doas {{command}}

  • Run a command as another user:

doas -u {{user}} {{command}}

  • Launch the default shell as root:

doas -s

  • Parse a configuration file and check if the execution of a command as another user is allowed:

doas -C {{path/to/config_file}} {{command}}

  • Make doas request a password even after it was supplied earlier:

doas -L

See Also