From 962aa3ad8ee3ae25d4cbdf35346a7b5c5f6ff362 Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Tue, 20 Jun 2023 13:34:47 -0700 Subject: [PATCH] Reference the SETENV-related settings in the command enviornment section. --- docs/sudoers.man.in | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/docs/sudoers.man.in b/docs/sudoers.man.in index 9864bd0eb4..24d42046b1 100644 --- a/docs/sudoers.man.in +++ b/docs/sudoers.man.in @@ -475,14 +475,33 @@ 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, +\fIsetenv\fR. +.TP 3n +\fB\(bu\fR +Command tags, such as +\fISETENV\fR +and +\fINOSETENV\fR. +Note that +\fISETENV\fR +is implied if the command matched is +\fBALL\fR. +.TP 3n +\fB\(bu\fR +\fBsudo\fR +options, such as +\fI-E\fR and -\fIset_home\fR. +\fI-i\fR. .PP On systems that support PAM where the \fBpam_env\fR