home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / sudo / README.Debian < prev    next >
Encoding:
Text File  |  2006-10-09  |  813 b   |  23 lines

  1. The version of sudo that ships with Debian by default resets the
  2. environment, as described by the "env_reset" flag in the sudoers file.
  3.  
  4. This implies that all environment variables are removed, except for
  5. HOME, LOGNAME, PATH, SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION,
  6. LANG, LANGUAGE, LC_*, and USER.
  7.  
  8. In case you want sudo to preserve more environment variables, you must
  9. specify the env_keep variable in the sudoers file. You should edit the
  10. sudoers file using the visudo tool.
  11.  
  12. Examples:
  13. Preserve the default variables plus the EDITOR variable:
  14.  
  15.     Defaults env_keep+="EDITOR"
  16.  
  17. Preserve the default variables plus all variables starting with LC_:
  18.  
  19.     Defaults env_keep+="LC_*"
  20.  
  21. See the file OPTIONS in this directory for more information on the sudo
  22. build options used in building the Debian package.
  23.