version 1.18, 2016/01/02 08:34:47 |
version 1.19, 2016/06/05 00:46:34 |
|
|
.It Ic keepenv { Oo Ar variable ... Oc Ic } |
.It Ic keepenv { Oo Ar variable ... Oc Ic } |
In addition to the variables mentioned above, keep the space-separated |
In addition to the variables mentioned above, keep the space-separated |
specified variables. |
specified variables. |
|
.It Ic setenv { Oo Ar variable=value ... Oc Ic } |
|
Sets one or more environment variables to the specified values. |
|
If the first character of |
|
.Ar value |
|
is a |
|
.Ql $ |
|
then the value to be set is taken from the existing enviornment |
|
variable of the same name. |
|
.Cm setenv |
|
directives override environment variables copied via |
|
.Cm keepenv . |
.El |
.El |
.It Ar identity |
.It Ar identity |
The username to match. |
The username to match. |
|
|
permit nopass keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel |
permit nopass keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel |
permit nopass tedu as root cmd /usr/sbin/procmap |
permit nopass tedu as root cmd /usr/sbin/procmap |
permit nopass keepenv root as root |
permit nopass keepenv root as root |
|
permit nopass setenv { PS1=$DOAS_PS1 } :staff |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr doas 1 |
.Xr doas 1 |