Any variables in the caller's environment that match
the env_keep and env_check lists are then added,
followed by any variables present in the file specified
- by the _\be_\bn_\bv_\b__\bf_\bi_\bl_\be option (if any). The default contents
- of the env_keep and env_check lists are displayed when
- s\bsu\bud\bdo\bo is run by root with the -\b-V\bV option. If the
- _\bs_\be_\bc_\bu_\br_\be_\b__\bp_\ba_\bt_\bh option is set, its value will be used for
- the PATH environment variable. This flag is _\bo_\bn by
- default.
+ by the _\be_\bn_\bv_\b__\bf_\bi_\bl_\be option (if any). The contents of the
+ env_keep and env_check lists, as modified by global
+ Defaults parameters in _\bs_\bu_\bd_\bo_\be_\br_\bs, are displayed when s\bsu\bud\bdo\bo
+ is run by root with the -\b-V\bV option. If the _\bs_\be_\bc_\bu_\br_\be_\b__\bp_\ba_\bt_\bh
+ option is set, its value will be used for the PATH
+ environment variable. This flag is _\bo_\bn by default.
fast_glob Normally, s\bsu\bud\bdo\bo uses the glob(3) function to do shell-
style globbing when matching path names. However,
Regardless of whether the env_reset option is enabled
or disabled, variables specified by env_check will be
preserved in the environment if they pass the
- aforementioned check. The default list of environment
+ aforementioned check. The global list of environment
variables to check is displayed when s\bsu\bud\bdo\bo is run by
root with the -\b-V\bV option.
list or a single value without double-quotes. The list
can be replaced, added to, deleted from, or disabled by
using the =, +=, -=, and ! operators respectively. The
- default list of environment variables to remove is
+ global list of environment variables to remove is
displayed when s\bsu\bud\bdo\bo is run by root with the -\b-V\bV option.
Note that many operating systems will remove
potentially dangerous variables from the environment of
be a double-quoted, space-separated list or a single
value without double-quotes. The list can be replaced,
added to, deleted from, or disabled by using the =, +=,
- -=, and ! operators respectively. The default list of
+ -=, and ! operators respectively. The global list of
variables to keep is displayed when s\bsu\bud\bdo\bo is run by root
with the -\b-V\bV option.
specified by the
\fIenv_file\fR
option (if any).
-The default contents of the
+The contents of the
\fRenv_keep\fR
and
\fRenv_check\fR
-lists are displayed when
+lists, as modified by global Defaults parameters in
+\fIsudoers\fR,
+are displayed when
\fBsudo\fR
is run by root with the
\fB\-V\fR
option is enabled or disabled, variables specified by
\fRenv_check\fR
will be preserved in the environment if they pass the aforementioned check.
-The default list of environment variables to check is displayed when
+The global list of environment variables to check is displayed when
\fBsudo\fR
is run by root with
the
and
\fR\&!\fR
operators respectively.
-The default list of environment variables to remove is displayed when
+The global list of environment variables to remove is displayed when
\fBsudo\fR
is run by root with the
\fB\-V\fR
and
\fR\&!\fR
operators respectively.
-The default list of variables to keep
+The global list of variables to keep
is displayed when
\fBsudo\fR
is run by root with the
specified by the
.Em env_file
option (if any).
-The default contents of the
+The contents of the
.Li env_keep
and
.Li env_check
-lists are displayed when
+lists, as modified by global Defaults parameters in
+.Em sudoers ,
+are displayed when
.Nm sudo
is run by root with the
.Fl V
option is enabled or disabled, variables specified by
.Li env_check
will be preserved in the environment if they pass the aforementioned check.
-The default list of environment variables to check is displayed when
+The global list of environment variables to check is displayed when
.Nm sudo
is run by root with
the
and
.Li \&!
operators respectively.
-The default list of environment variables to remove is displayed when
+The global list of environment variables to remove is displayed when
.Nm sudo
is run by root with the
.Fl V
and
.Li \&!
operators respectively.
-The default list of variables to keep
+The global list of variables to keep
is displayed when
.Nm sudo
is run by root with the