]> granicus.if.org Git - sudo/commit
New Defaults options:
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 30 Dec 2000 03:29:47 +0000 (03:29 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 30 Dec 2000 03:29:47 +0000 (03:29 +0000)
commit998631b73abd193657e3c4db30bd56e2b049e078
tree6220d07be9841099fb38d0fa6698c04c206a3637
parentf88c0c930b4370f7438db0dfff1fe2e93f7158e2
New Defaults options:
 o stay_setuid - sudo will remain setuid if system has saved uids or setreuid(2)
 o env_reset - reset the environment to a sane default
 o env_keep - preserve environment variables that would otherwise be cleared

No longer use getenv/putenv/setenv functions--do environment munging by hand.
Potentially dangerous environment variables can be cleared only if they
contain '/' pr '%' characters to protect buggy programs.
Moved environment routines into env.c (new file)
25 files changed:
CHANGES
Makefile.in
check.c
compat.h
config.h.in
configure
configure.in
defaults.c
defaults.h
env.c [new file with mode: 0644]
find_path.c
getspwuid.c
set_perms.c
sudo.c
sudo.cat
sudo.h
sudo.man.in
sudo.pod
sudoers.cat
sudoers.man.in
sudoers.pod
testsudoers.c
visudo.c
visudo.cat
visudo.man.in