From: Todd C. Miller Date: Tue, 1 Jan 2008 21:52:45 +0000 (+0000) Subject: mention /etc/environment X-Git-Tag: SUDO_1_7_0~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab14071ec98f8a69435ff33edfff16bce0c29523;p=sudo mention /etc/environment --- diff --git a/sudo.pod b/sudo.pod index bc05b5f2e..f42842129 100644 --- a/sudo.pod +++ b/sudo.pod @@ -208,8 +208,9 @@ it is passed to the shell for execution. Otherwise, an interactive shell is executed. B attempts to change to that user's home directory before running the shell. It also initializes the environment, leaving I and I unchanged, setting -I, I, I, I, and I, and unsetting -all other environment variables. +I, I, I, I, and I, as well as +the contents of F. All other environment variables +are removed. =item -K @@ -500,6 +501,8 @@ Default editor to use in B<-e> (sudoedit) mode =item F<@timedir@>C< >Directory containing timestamps +=item FC< >Initial environment for B<-i> mode + =back =head1 EXAMPLES