|DOAS(1)||General Commands Manual||DOAS(1)|
] command [
doasutility executes the given command as another user. The command argument is mandatory unless
-sis specified. The options are as follows:
doaswill also perform command matching. In the latter case either ‘permit’, ‘permit nopass’ or ‘deny’ will be printed on standard output, depending on command matching results. No command is executed.
doaswould prompt for password.
doasutility exits 0 on success, and >0 if an error occurs. It may fail for one of the following reasons:
doascommand first appeared in OpenBSD 5.8. Ted Unangst <email@example.com>
|September 4, 2016||OpenBSD-6.1|