=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/doas/doas.1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/doas/doas.1 2015/07/17 20:50:31 1.4 +++ src/usr.bin/doas/doas.1 2015/07/18 06:33:23 1.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: doas.1,v 1.4 2015/07/17 20:50:31 schwarze Exp $ +.\" $OpenBSD: doas.1,v 1.5 2015/07/18 06:33:23 nicm Exp $ .\" .\"Copyright (c) 2015 Ted Unangst .\" @@ -13,7 +13,7 @@ .\"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: July 17 2015 $ +.Dd $Mdocdate: July 18 2015 $ .Dt DOAS 1 .Os .Sh NAME @@ -21,6 +21,7 @@ .Nd execute commands as another user .Sh SYNOPSIS .Nm doas +.Op Fl s .Op Fl u Ar user .Ar command .Op Ar args @@ -31,6 +32,11 @@ .Pp The options are as follows: .Bl -tag -width tenletters +.It Fl s +Execute the shell from +.Ev SHELL +or +.Pa /etc/passwd . .It Fl u Ar user Execute the command as .Ar user .