]> git.armaanb.net Git - opendoas.git/blobdiff - doas.conf.5
always reset the "su" variables, which is more consistent and predictable. ok martijn...
[opendoas.git] / doas.conf.5
index 8fd700bd7f6f076c1727a405eb74a69d811df8d9..c9ea1b83b746665f0697de465789db8989a23852 100644 (file)
@@ -54,6 +54,14 @@ The default is to reset the environment, except for the variables
 .Ev DISPLAY
 and
 .Ev TERM .
+The variables
+.Ev HOME ,
+.Ev LOGNAME ,
+.Ev PATH ,
+.Ev SHELL ,
+and
+.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.