doas.1 revision 1.1
$OpenBSD: doas.1,v 1.1 2015/07/16 20:44:21 tedu Exp $

Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate$ .Dt DOAS 1 .Os .Sh NAME .Nm doas .Nd execute commands as another user .Sh SYNOPSIS .Nm doas .Op Fl u Ar user command .Op Ar args .Sh DESCRIPTION The .Nm utility executes the given command as another user.

p The options are as follows: l -tag -width tenletters t Fl u Ar user Execute the command as .Ar user . The default is root. .El .Sh EXIT STATUS .Ex -std doas It may fail because of one of the following reasons:

p l -bullet -compact t The config file could not be parsed. t The user attempted an command which is not permitted. t Entered passphrase is incorrect. .El .Sh HISTORY The .Nm command first appeared in .Ox 5.8 . .Sh AUTHORS .An Ted Unangst Aq Mt tedu@openbsd.org