version 1.4, 2015/07/17 20:50:31 |
version 1.5, 2015/07/18 06:33:23 |
|
|
.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 u Ar user |
.Op Fl u Ar user |
.Ar command |
.Ar command |
.Op Ar args |
.Op Ar args |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width tenletters |
.Bl -tag -width tenletters |
|
.It Fl s |
|
Execute the shell from |
|
.Ev SHELL |
|
or |
|
.Pa /etc/passwd . |
.It Fl u Ar user |
.It Fl u Ar user |
Execute the command as |
Execute the command as |
.Ar user . |
.Ar user . |