File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525.nr BA @BAMAN@
2626.nr LC @LCMAN@
2727.nr PS @PSMAN@
28- .TH "SUDOERS" "@mansectform@" "June 18 , 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
28+ .TH "SUDOERS" "@mansectform@" "June 20 , 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
2929.nh
3030.if n .ad l
3131.SH "NAME"
@@ -475,14 +475,34 @@ varies based on the operating system
475475\fB sudo \fR
476476is running on.
477477.PP
478- Other
478+ Other settings may influence the command environment:
479+ .TP 3n
480+ \fB \(bu \fR
479481\fB sudoers \fR
480- options may influence the command environment, such as
482+ options such as
481483\fI always_set_home \fR ,
482484\fI secure_path \fR ,
483485\fI set_logname \fR ,
486+ \fI set_home \fR ,
487+ and
488+ \fI setenv \fR .
489+ .TP 3n
490+ \fB \(bu \fR
491+ Command tags, such as
492+ \fR SETENV\fR
493+ and
494+ \fR NOSETENV\fR .
495+ Note that
496+ \fR SETENV\fR
497+ is implied if the command matched is
498+ \fB ALL \fR .
499+ .TP 3n
500+ \fB \(bu \fR
501+ \fB sudo \fR
502+ options, such as
503+ \fB \- E \fR
484504and
485- \fI set_home \fR .
505+ \fB \- i \fR .
486506.PP
487507On systems that support PAM where the
488508\fB pam_env \fR
Original file line number Diff line number Diff line change 2525.nr BA @BAMAN@
2626.nr LC @LCMAN@
2727.nr PS @PSMAN@
28- .Dd June 18 , 2023
28+ .Dd June 20 , 2023
2929.Dt SUDOERS @mansectform@
3030.Os Sudo @PACKAGE_VERSION@
3131.Sh NAME
@@ -461,14 +461,33 @@ varies based on the operating system
461461.Nm sudo
462462is running on.
463463.Pp
464- Other
464+ Other settings may influence the command environment:
465+ .Bl -bullet -width 1n
466+ .It
465467.Nm
466- options may influence the command environment, such as
468+ options such as
467469.Em always_set_home ,
468470.Em secure_path ,
469471.Em set_logname ,
472+ .Em set_home ,
473+ and
474+ .Em setenv .
475+ .It
476+ Command tags, such as
477+ .Dv SETENV
478+ and
479+ .Dv NOSETENV .
480+ Note that
481+ .Dv SETENV
482+ is implied if the command matched is
483+ .Sy ALL .
484+ .It
485+ .Nm sudo
486+ options, such as
487+ .Fl E
470488and
471- .Em set_home .
489+ .Fl i .
490+ .El
472491.Pp
473492On systems that support PAM where the
474493.Sy pam_env
You can’t perform that action at this time.
0 commit comments