From: Todd C. Miller Date: Fri, 13 Apr 2001 01:40:15 +0000 (+0000) Subject: Update list of env vars that are cleared X-Git-Tag: SUDO_1_6_4~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af93a44226270e77306afa14faaa8dfde12cff43;p=sudo Update list of env vars that are cleared --- diff --git a/TROUBLESHOOTING b/TROUBLESHOOTING index 8f1a23871..00d1ffa7f 100644 --- a/TROUBLESHOOTING +++ b/TROUBLESHOOTING @@ -1,4 +1,4 @@ -FAQ and troubleshooting tips for Sudo +Troubleshooting tips and FAQ for Sudo ===================================== Q) When I run configure, it says "C compiler cannot create executables". @@ -77,14 +77,28 @@ A) Sudo removes the following "dangerous" environment variables LOCALDOMAIN RES_OPTIONS HOSTALIASES + NLSPATH + PATH_LOCALE + TERMINFO + TERMINFO_DIRS + TERMPATH + TERMCAP (if it begins with a '/') ENV BASH_ENV + LC_ (if it contains a '/' or '%') + LANG (if it contains a '/' or '%') + LANGUAGE (if it contains a '/' or '%') LD_* _RLD_* SHLIB_PATH (HP-UX only) - LIB_PATH (AIX only) + LIBPATH (AIX only) KRB_CONF (kerb4 only) + KRBCONFDIR (kerb4 only) + KRBTKFILE (kerb4 only) KRB5_CONFIG (kerb5 only) + VAR_ACE (SecurID only) + USR_ACE (SecurID only) + DLC_ACE (SecurID only) Q) How can I keep sudo from asking for a password? A) To specify this on a per-user (and per-command) basis, use the 'NOPASSWD'