KEYRING:persistent and ssh
Benjamin Kaduk
kaduk at MIT.EDU
Mon Sep 19 00:11:19 EDT 2016
On Fri, 16 Sep 2016, t Seeger wrote:
> Hello,
>
> i have a little problem with the 'KRB5CCNAME' environment variable. I set
> the default_ccache_name to KEYRING:persistent:%{uid} but if i login it is
> set to "file:/tmp/krb5cc_${uid}_XXXXXXXXXX" cause ssh sets the KRB5CCNAME
> to file:/tmp/krb5cc_${uid}_XXXXXXXXXX...
> I found a workaround with adding "unset KRB5CCNAME" to /etc/bash.bashrc but
> this is not very nice.
> Did anyone had a similar problem and found a solution?
The KRB5CCNAME environment variable takes precedence over the default
ccache name. It sounds like you should check the system dotfiles for a
KRB5CCNAME assignment and check whether pam_krb5 is doing anything
special.
-Ben
More information about the Kerberos
mailing list