]> andersk Git - openssh.git/blobdiff - sshd.c
- (dtucker) [configure.ac sshd.c openbsd-compat/bsd-misc.h
[openssh.git] / sshd.c
diff --git a/sshd.c b/sshd.c
index 2c224b9c3d315cf0aaa7fb2267d3c28f46d8ee6e..3247091a4c1fd6ccba844d142d5a01f440138aa7 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -939,6 +939,13 @@ main(int ac, char **av)
            SYSLOG_FACILITY_AUTH : options.log_facility,
            log_stderr || !inetd_flag);
 
+#ifdef _AIX
+       /*
+        * Unset KRB5CCNAME, otherwise the user's session may inherit it from
+        * root's environment
+        */ 
+       unsetenv("KRB5CCNAME");
+#endif /* _AIX */
 #ifdef _UNICOS
        /* Cray can define user privs drop all prives now!
         * Not needed on PRIV_SU systems!
This page took 0.062057 seconds and 4 git commands to generate.