mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Update list of env vars that are cleared
This commit is contained in:
@@ -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".
|
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
|
LOCALDOMAIN
|
||||||
RES_OPTIONS
|
RES_OPTIONS
|
||||||
HOSTALIASES
|
HOSTALIASES
|
||||||
|
NLSPATH
|
||||||
|
PATH_LOCALE
|
||||||
|
TERMINFO
|
||||||
|
TERMINFO_DIRS
|
||||||
|
TERMPATH
|
||||||
|
TERMCAP (if it begins with a '/')
|
||||||
ENV
|
ENV
|
||||||
BASH_ENV
|
BASH_ENV
|
||||||
|
LC_ (if it contains a '/' or '%')
|
||||||
|
LANG (if it contains a '/' or '%')
|
||||||
|
LANGUAGE (if it contains a '/' or '%')
|
||||||
LD_*
|
LD_*
|
||||||
_RLD_*
|
_RLD_*
|
||||||
SHLIB_PATH (HP-UX only)
|
SHLIB_PATH (HP-UX only)
|
||||||
LIB_PATH (AIX only)
|
LIBPATH (AIX only)
|
||||||
KRB_CONF (kerb4 only)
|
KRB_CONF (kerb4 only)
|
||||||
|
KRBCONFDIR (kerb4 only)
|
||||||
|
KRBTKFILE (kerb4 only)
|
||||||
KRB5_CONFIG (kerb5 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?
|
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'
|
A) To specify this on a per-user (and per-command) basis, use the 'NOPASSWD'
|
||||||
|
Reference in New Issue
Block a user