how to set default TGT file path
Benjamin Kaduk
kaduk at MIT.EDU
Sun Dec 28 18:09:03 EST 2014
On Wed, 24 Dec 2014, steve wrote:
> On 24/12/14 09:45, Peng Hu PH Pei wrote:
> >
> > Put in krb5.conf and run kinit, the TGT is still in /tmp/:
> >
> > [libdefaults]
> > default_ccache_name = FILE:/var/tmp/krb5cc_%{euid}
> Hi
> I think that should be:
> default_ccache_name = /var/tmp/krb5cc_%{uid}
The type prefix is used, if set; the default is currently to FILE:, but
might conceivably change in the future if someone decides that gratuitous
breakage is a good idea.
> But I don't think we do it in userspace these days. There is a keyring
> cache in the kernel. I think that's what you need.
It's far from clear that the KEYRING: cache type is desired here, and even
if it is, the userspace settings still need to be present just as they
would be for, e.g., a FILE: cache type.
A residual KRB5CCNAME in the environment of the OP's shell might explain
the symptoms; the KRB5_TRACE output from kinit would be useful to see
what's going on.
-Ben Kaduk
More information about the Kerberos
mailing list