]> granicus.if.org Git - sudo/commitdiff
Add PYTHONUSERBASE to initial_badenv_table
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 16:54:01 +0000 (12:54 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 19 Jul 2010 16:54:01 +0000 (12:54 -0400)
plugins/sudoers/env.c

index 3d97953aaae722091a79bafdf53d6ca1b1f45a5b..f2006bc088eed1372ed4f8e8c97f420cee1e5e55 100644 (file)
@@ -168,6 +168,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