version 1.11, 2015/07/26 17:24:02 |
version 1.12, 2015/07/26 20:47:01 |
|
|
.Nd execute commands as another user |
.Nd execute commands as another user |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm doas |
.Nm doas |
.Op Fl s |
.Op Fl ns |
.Op Fl C Ar config |
.Op Fl C Ar config |
.Op Fl u Ar user |
.Op Fl u Ar user |
.Ar command |
.Ar command |
|
|
will be printed on standard output, depending on command |
will be printed on standard output, depending on command |
matching results. |
matching results. |
No command is executed. |
No command is executed. |
|
.It Fl n |
|
Non interactive mode, fail if |
|
.Nm |
|
would prompt for password. |
.It Fl s |
.It Fl s |
Execute the shell from |
Execute the shell from |
.Ev SHELL |
.Ev SHELL |