]> granicus.if.org Git - sudo/commitdiff
Remove KRB5_KTNAME from environment. Allow COLORTERM.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Jun 2007 11:52:44 +0000 (11:52 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Jun 2007 11:52:44 +0000 (11:52 +0000)
env.c

diff --git a/env.c b/env.c
index fce2d8ce5cd431d22e96c4bccdd1675a6035a47c..b81afd8e51b92fca3da2534abad8f906ec1ffdc6 100644 (file)
--- a/env.c
+++ b/env.c
@@ -130,6 +130,7 @@ static const char *initial_badenv_table[] = {
 #endif /* HAVE_KERB4 */
 #ifdef HAVE_KERB5
     "KRB5_CONFIG*",
+    "KRB5_KTNAME",
 #endif /* HAVE_KERB5 */
 #ifdef HAVE_SECURID
     "VAR_ACE",
@@ -182,6 +183,7 @@ static const char *initial_keepenv_table[] = {
     "DISPLAY",
     "PATH",
     "TERM",
+    "COLORTERM",
     "TZ",
     NULL
 };