version 1.38, 2019/06/19 09:55:55 |
version 1.39, 2019/06/21 17:02:27 |
|
|
After the user successfully authenticates, do not ask for a password |
After the user successfully authenticates, do not ask for a password |
again for some time. |
again for some time. |
.It Ic keepenv |
.It Ic keepenv |
The user's environment is maintained. |
Environment variables other than those listed in |
The default is to retain the variables |
.Xr doas 1 |
.Ev DISPLAY |
are retained when creating the environment for the new process. |
and |
|
.Ev TERM |
|
from the invoking process, reset |
|
.Ev HOME , |
|
.Ev LOGNAME , |
|
.Ev PATH , |
|
.Ev SHELL , |
|
and |
|
.Ev USER |
|
as appropriate for the target user, and discard the rest of the environment. |
|
.It Ic setenv { Oo Ar variable ... Oc 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 |
Keep or set the space-separated specified variables. |
specified variables. |
|
Variables may also be removed with a leading |
Variables may also be removed with a leading |
.Sq - |
.Sq - |
or set using the latter syntax. |
or set using the latter syntax. |
|
|
.Ql $ |
.Ql $ |
then the value to be set is taken from the existing environment |
then the value to be set is taken from the existing environment |
variable of the indicated name. |
variable of the indicated name. |
|
This option is processed after the default environment has been created. |
.El |
.El |
.It Ar identity |
.It Ar identity |
The username to match. |
The username to match. |