]> git.armaanb.net Git - opendoas.git/blobdiff - doas.conf.5
mention environment resetting here as well. ok millert
[opendoas.git] / doas.conf.5
index e16ab6f5a4d2b446c75b262c3f90323e4e5b072d..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.
@@ -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