mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Reference SETENV-related settings in the command environment section.
Based on GitHub PR #273 from Ilya Kulakov.
This commit is contained in:
parent
733d5291b4
commit
e0ee845dfc
@ -25,7 +25,7 @@
|
||||
.nr BA @BAMAN@
|
||||
.nr LC @LCMAN@
|
||||
.nr PS @PSMAN@
|
||||
.TH "SUDOERS" "@mansectform@" "June 18, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
||||
.TH "SUDOERS" "@mansectform@" "June 20, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
||||
.nh
|
||||
.if n .ad l
|
||||
.SH "NAME"
|
||||
@ -475,14 +475,34 @@ varies based on the operating system
|
||||
\fBsudo\fR
|
||||
is running on.
|
||||
.PP
|
||||
Other
|
||||
Other settings may influence the command environment:
|
||||
.TP 3n
|
||||
\fB\(bu\fR
|
||||
\fBsudoers\fR
|
||||
options may influence the command environment, such as
|
||||
options such as
|
||||
\fIalways_set_home\fR,
|
||||
\fIsecure_path\fR,
|
||||
\fIset_logname\fR,
|
||||
\fIset_home\fR,
|
||||
and
|
||||
\fIset_home\fR.
|
||||
\fIsetenv\fR.
|
||||
.TP 3n
|
||||
\fB\(bu\fR
|
||||
Command tags, such as
|
||||
\fRSETENV\fR
|
||||
and
|
||||
\fRNOSETENV\fR.
|
||||
Note that
|
||||
\fRSETENV\fR
|
||||
is implied if the command matched is
|
||||
\fBALL\fR.
|
||||
.TP 3n
|
||||
\fB\(bu\fR
|
||||
\fBsudo\fR
|
||||
options, such as
|
||||
\fB\-E\fR
|
||||
and
|
||||
\fB\-i\fR.
|
||||
.PP
|
||||
On systems that support PAM where the
|
||||
\fBpam_env\fR
|
||||
|
@ -25,7 +25,7 @@
|
||||
.nr BA @BAMAN@
|
||||
.nr LC @LCMAN@
|
||||
.nr PS @PSMAN@
|
||||
.Dd June 18, 2023
|
||||
.Dd June 20, 2023
|
||||
.Dt SUDOERS @mansectform@
|
||||
.Os Sudo @PACKAGE_VERSION@
|
||||
.Sh NAME
|
||||
@ -461,14 +461,33 @@ varies based on the operating system
|
||||
.Nm sudo
|
||||
is running on.
|
||||
.Pp
|
||||
Other
|
||||
Other settings may influence the command environment:
|
||||
.Bl -bullet -width 1n
|
||||
.It
|
||||
.Nm
|
||||
options may influence the command environment, such as
|
||||
options such as
|
||||
.Em always_set_home ,
|
||||
.Em secure_path ,
|
||||
.Em set_logname ,
|
||||
.Em set_home ,
|
||||
and
|
||||
.Em set_home .
|
||||
.Em setenv .
|
||||
.It
|
||||
Command tags, such as
|
||||
.Dv SETENV
|
||||
and
|
||||
.Dv NOSETENV .
|
||||
Note that
|
||||
.Dv SETENV
|
||||
is implied if the command matched is
|
||||
.Sy ALL .
|
||||
.It
|
||||
.Nm sudo
|
||||
options, such as
|
||||
.Fl E
|
||||
and
|
||||
.Fl i .
|
||||
.El
|
||||
.Pp
|
||||
On systems that support PAM where the
|
||||
.Sy pam_env
|
||||
|
Loading…
x
Reference in New Issue
Block a user