environment, as described by the "env_reset" flag in the sudoers file.
This implies that all environment variables are removed, except for
-HOME, LOGNAME, PATH, SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION,
-XAPPLRESDIR, XFILESEARCHPATH, XUSERFILESEARCHPATH, LANG, LANGUAGE, LC_*,
-and USER.
+LOGNAME, PATH, SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION, XAPPLRESDIR,
+XFILESEARCHPATH, XUSERFILESEARCHPATH, LANG, LANGUAGE, LC_*, and USER.
In case you want sudo to preserve more environment variables, you must
specify the env_keep variable in the sudoers file. You should edit the
http://www.xkcd.com/c149.html
- - - - - -
-
-If you choose to run with the RAMRUN option set in /etc/default/rcS, you may
-grow weary of being lectured after each reboot. If so, adding 'lecture never'
-to sudoers may make you happier. See the sudoers(5) man page for more info.