From 57fd76f23449903b9364753353329cc607768c3b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 19 Jul 2010 12:48:47 -0400 Subject: [PATCH] Document that MAIL it set in env_reset mode. --HG-- branch : 1.7 --- sudoers.cat | 54 +++++++++++++++++++++++++------------------------- sudoers.man.in | 4 ++-- sudoers.pod | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/sudoers.cat b/sudoers.cat index 6baae2e26..2e67c69d5 100644 --- a/sudoers.cat +++ b/sudoers.cat @@ -61,7 +61,7 @@ DDEESSCCRRIIPPTTIIOONN -1.7.4 July 16, 2010 1 +1.7.4 July 19, 2010 1 @@ -127,7 +127,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 2 +1.7.4 July 19, 2010 2 @@ -193,7 +193,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 3 +1.7.4 July 19, 2010 3 @@ -259,7 +259,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 4 +1.7.4 July 19, 2010 4 @@ -325,7 +325,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 5 +1.7.4 July 19, 2010 5 @@ -391,7 +391,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 6 +1.7.4 July 19, 2010 6 @@ -457,7 +457,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 7 +1.7.4 July 19, 2010 7 @@ -523,7 +523,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 8 +1.7.4 July 19, 2010 8 @@ -589,7 +589,7 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS -1.7.4 July 16, 2010 9 +1.7.4 July 19, 2010 9 @@ -634,7 +634,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) specified in editor. This flag is _o_f_f by default. env_reset If set, ssuuddoo will reset the environment to only contain - the LOGNAME, SHELL, USER, USERNAME and the SUDO_* + the LOGNAME, MAIL, SHELL, USER, USERNAME and the SUDO_* variables. Any variables in the caller's environment that match the env_keep and env_check lists are then added. The default contents of the env_keep and @@ -655,7 +655,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 10 +1.7.4 July 19, 2010 10 @@ -721,7 +721,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 11 +1.7.4 July 19, 2010 11 @@ -787,7 +787,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 12 +1.7.4 July 19, 2010 12 @@ -853,7 +853,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 13 +1.7.4 July 19, 2010 13 @@ -919,7 +919,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 14 +1.7.4 July 19, 2010 14 @@ -985,7 +985,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 15 +1.7.4 July 19, 2010 15 @@ -1051,7 +1051,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 16 +1.7.4 July 19, 2010 16 @@ -1117,7 +1117,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 17 +1.7.4 July 19, 2010 17 @@ -1183,7 +1183,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 18 +1.7.4 July 19, 2010 18 @@ -1249,7 +1249,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 19 +1.7.4 July 19, 2010 19 @@ -1315,7 +1315,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 20 +1.7.4 July 19, 2010 20 @@ -1381,7 +1381,7 @@ EEXXAAMMPPLLEESS -1.7.4 July 16, 2010 21 +1.7.4 July 19, 2010 21 @@ -1447,7 +1447,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 22 +1.7.4 July 19, 2010 22 @@ -1513,7 +1513,7 @@ SUDOERS(4) MAINTENANCE COMMANDS SUDOERS(4) -1.7.4 July 16, 2010 23 +1.7.4 July 19, 2010 23 @@ -1579,7 +1579,7 @@ SSEECCUURRIITTYY NNOOTTEESS -1.7.4 July 16, 2010 24 +1.7.4 July 19, 2010 24 @@ -1645,7 +1645,7 @@ PPRREEVVEENNTTIINNGG SSHHEELLLL EESSCCAAPPEESS -1.7.4 July 16, 2010 25 +1.7.4 July 19, 2010 25 @@ -1711,6 +1711,6 @@ DDIISSCCLLAAIIMMEERR -1.7.4 July 16, 2010 26 +1.7.4 July 19, 2010 26 diff --git a/sudoers.man.in b/sudoers.man.in index ec6573af0..ce6c9196f 100644 --- a/sudoers.man.in +++ b/sudoers.man.in @@ -148,7 +148,7 @@ .\" ======================================================================== .\" .IX Title "SUDOERS @mansectform@" -.TH SUDOERS @mansectform@ "July 16, 2010" "1.7.4" "MAINTENANCE COMMANDS" +.TH SUDOERS @mansectform@ "July 19, 2010" "1.7.4" "MAINTENANCE COMMANDS" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -764,7 +764,7 @@ default. .IP "env_reset" 16 .IX Item "env_reset" If set, \fBsudo\fR will reset the environment to only contain the -\&\s-1LOGNAME\s0, \s-1SHELL\s0, \s-1USER\s0, \s-1USERNAME\s0 and the \f(CW\*(C`SUDO_*\*(C'\fR variables. Any +\&\s-1LOGNAME\s0, \s-1MAIL\s0, \s-1SHELL\s0, \s-1USER\s0, \s-1USERNAME\s0 and the \f(CW\*(C`SUDO_*\*(C'\fR variables. Any variables in the caller's environment that match the \f(CW\*(C`env_keep\*(C'\fR and \f(CW\*(C`env_check\*(C'\fR lists are then added. The default contents of the \&\f(CW\*(C`env_keep\*(C'\fR and \f(CW\*(C`env_check\*(C'\fR lists are displayed when \fBsudo\fR is diff --git a/sudoers.pod b/sudoers.pod index fded87175..5fb657a04 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -627,7 +627,7 @@ default. =item env_reset If set, B will reset the environment to only contain the -LOGNAME, SHELL, USER, USERNAME and the C variables. Any +LOGNAME, MAIL, SHELL, USER, USERNAME and the C variables. Any variables in the caller's environment that match the C and C lists are then added. The default contents of the C and C lists are displayed when B is -- 2.50.1