]> git.armaanb.net Git - opendoas.git/blobdiff - doas.conf.5
mention that doas(1) resets the umask(2); OK tedu@
[opendoas.git] / doas.conf.5
index 78bb16fe0df8c0fa0788535985071ce050a2a3c8..c9ea1b83b746665f0697de465789db8989a23852 100644 (file)
@@ -51,15 +51,17 @@ again for some time.
 .It Ic keepenv
 The user's environment is maintained.
 The default is to reset the environment, except for the variables
-.Ev DISPLAY ,
+.Ev DISPLAY
+and
+.Ev TERM .
+The variables
 .Ev HOME ,
 .Ev LOGNAME ,
-.Ev MAIL ,
 .Ev PATH ,
-.Ev TERM ,
-.Ev USER
+.Ev SHELL ,
 and
-.Ev USERNAME .
+.Ev USER
+are always reset.
 .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.
@@ -71,7 +73,7 @@ If the first character of
 is a
 .Ql $
 then the value to be set is taken from the existing environment
-variable of the same name.
+variable of the indicated name.
 .El
 .It Ar identity
 The username to match.
@@ -121,7 +123,7 @@ it isn't considered a keyword.
 .Sh FILES
 .Bl -tag -width "/etc/doas.conf"
 .It Pa /etc/doas.conf
-Doas configuration file.
+doas configuration file.
 .El
 .Sh EXAMPLES
 The following example permits user aja to install packages