]> granicus.if.org Git - sudo/commitdiff
Add PYTHONUSERBASE to initial_badenv_table
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 15:15:32 +0000 (11:15 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 15:15:32 +0000 (11:15 -0400)
--HG--
branch : 1.7

env.c

diff --git a/env.c b/env.c
index 3a1a358101f87b34d9767b42fa2116f2721f02bb..84e2e74eac3b052160bd4067f58c7daf84559273 100644 (file)
--- a/env.c
+++ b/env.c
@@ -171,6 +171,7 @@ static const char *initial_badenv_table[] = {
     "PYTHONHOME",              /* python, module search path */
     "PYTHONPATH",              /* python, search path */
     "PYTHONINSPECT",           /* python, allow inspection */
+    "PYTHONUSERBASE",          /* python, per user site-packages directory */
     "RUBYLIB",                 /* ruby, library load path */
     "RUBYOPT",                 /* ruby, extra command line options */
     NULL