AIX KRB5CCNAME problem
Darren Tucker
dtucker at zip.com.au
Wed Nov 12 10:58:36 EST 2003
Mike Dopheide wrote:
>
> I believe there is a bug in how AIX handles the KRB5CCNAME environment
> variable. The symptom occurs when a root user restarts sshd while they
> have KRB5CCNAME set; all of the resulting client connections will inherit
> the same KRB5CCNAME variable. This can occur if the admin uses 'ksu' or
> some other kerberized method of obtaining root privileges.
[snip]
> On about line 1087 of session.c we see this:
[snip code]
> It seems to me that this section of code takes the KRB5CCNAME from sshd
> (if it exists) and hands it off to the child. My question is, why would
> you ever want to do this?
I've never used Kerberos on AIX but I would guess that this is to handle
the case where KRB5CCNAME is set by one of the modules called by the AIX's
authenticate() function.
It would seem that KRB5CCNAME should be cleared from the sshd's
environment when it starts up to prevent the situation you're describing.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list