summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 2c224b9c3..3247091a4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -939,6 +939,13 @@ main(int ac, char **av)
939 SYSLOG_FACILITY_AUTH : options.log_facility, 939 SYSLOG_FACILITY_AUTH : options.log_facility,
940 log_stderr || !inetd_flag); 940 log_stderr || !inetd_flag);
941 941
942#ifdef _AIX
943 /*
944 * Unset KRB5CCNAME, otherwise the user's session may inherit it from
945 * root's environment
946 */
947 unsetenv("KRB5CCNAME");
948#endif /* _AIX */
942#ifdef _UNICOS 949#ifdef _UNICOS
943 /* Cray can define user privs drop all prives now! 950 /* Cray can define user privs drop all prives now!
944 * Not needed on PRIV_SU systems! 951 * Not needed on PRIV_SU systems!