|
|
发表于 2007-6-21 23:30:20
|
显示全部楼层
Post by diony
为什么我在用其他发行版的时候没有遇到过这个问题? 看你的/etc/sudoers
man sudoers
env_reset
If set, sudo will reset the environment to only contain the following variables: HOME, LOGNAME,
PATH, SHELL, TERM, and USER (in addition to the SUDO_* variables). Of these, only TERM is
copied unaltered from the old environment. The other variables are set to default values (pos-
sibly modified by the value of the set_logname option). If sudo was compiled with the
SECURE_PATH option, its value will be used for the PATH environment variable. Other variables
may be preserved with the env_keep option. |
|