summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-06-27 17:36:33 +0000
committerjmc <jmc@openbsd.org>2016-06-27 17:36:33 +0000
commit492648dded7a96be455a5eca2fed946dfe4d4729 (patch)
tree8e53bad11daec183075abb13cc58ef185292b12e
parentmake proper use of fstatat, as suggested by guenther@ (diff)
downloadwireguard-openbsd-492648dded7a96be455a5eca2fed946dfe4d4729.tar.xz
wireguard-openbsd-492648dded7a96be455a5eca2fed946dfe4d4729.zip
minor tweaks; ok tedu
-rw-r--r--usr.bin/doas/doas.conf.514
1 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/doas/doas.conf.5 b/usr.bin/doas/doas.conf.5
index 9a1c2dd0dfa..864c37ec510 100644
--- a/usr.bin/doas/doas.conf.5
+++ b/usr.bin/doas/doas.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.conf.5,v 1.28 2016/06/27 15:47:38 tedu Exp $
+.\" $OpenBSD: doas.conf.5,v 1.29 2016/06/27 17:36:33 jmc Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
@@ -59,10 +59,12 @@ The default is to reset the environment, except for the variables
.Ev USER
and
.Ev USERNAME .
-.It Ic setenv { Oo Ar variable ... Oc Ic Oo Ar variable=value ... Oc Ic }
+.It Ic setenv { Oo Ar variable ... Oc Oo Ar variable=value ... Oc Ic }
In addition to the variables mentioned above, keep the space-separated
specified variables.
-Variables may also be removed with a leading - or set using the latter syntax.
+Variables may also be removed with a leading
+.Sq -
+or set using the latter syntax.
If the first character of
.Ar value
is a
@@ -116,7 +118,7 @@ If quotes or backslashes are used in a word,
it is not considered a keyword.
.El
.Sh EXAMPLES
-The following example permits users in group wsrc to build ports,
+The following example permits users in group wsrc to build ports;
wheel to execute commands as any user while keeping the environment
variables
.Ev PS1
@@ -124,8 +126,8 @@ and
.Ev SSH_AUTH_SOCK
and
unsetting
-.Ev ENV ,
-permits tedu to run procmap as root without a password,
+.Ev ENV ;
+permits tedu to run procmap as root without a password;
and additionally permits root to run unrestricted commands as itself.
.Bd -literal -offset indent
# Non-exhaustive list of variables needed to