doas
Executes a command as another user.
doas {command}
- Run a command as another user:
doas -u {user} {command}
- Launch the default shell as root:
doas -s
- Parse a config file and check if the execution of a command as another user is allowed:
doas -C {config_file} {command}
- Make `doas` request a password even after it was supplied earlier:
doas -L
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).