diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-03-08 22:59:03 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-03-08 22:59:03 +1100 |
commit | 86c093d2895989d1258459b797ce3630eaa47d1a (patch) | |
tree | 1de57c50af2b52f32906f21f91e81ab1f839eb93 /sshd.c | |
parent | 112aaac0ce350fb3365bfb6e2d69faef81422783 (diff) |
- (dtucker) [configure.ac sshd.c openbsd-compat/bsd-misc.h
openbsd-compat/setenv.c] Unset KRB5CCNAME on AIX to prevent it from being
inherited by the child. ok djm@
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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! |