pam_krb5 creates two credential cache files in /tmp and deletes only when when kerberos users logout
Issue
- pam_krb5 creates too much credential cache files in /tmp and doesn't delete when kerberos users logout
Jun 23 16:36:00 hostname1 sshd[30183]: pam_krb5[30183]: created v5 ccache 'FILE:/tmp/krb5cc_6923_0tITd2' for 'user1'
Jun 23 16:36:00 hostname1 sshd[30193]: pam_krb5[30193]: created v5 ccache 'FILE:/tmp/krb5cc_6923_xPOEC9' for 'user1'
Jun 23 16:36:01 hostname1 sshd[30183]: pam_krb5[30183]: removing ccache 'FILE:/tmp/krb5cc_6923_0tITd2'
Jun 23 16:36:01 hostname1 sshd[30183]: pam_krb5[30183]: error removing ccache 'FILE:/tmp/krb5cc_6923_0tITd2'
Jun 23 16:36:01 hostname1 sshd[30183]: pam_krb5[30183]: removing ccache 'FILE:/tmp/krb5cc_6923_0tITd2'
Jun 23 16:36:01 hostname1 sshd[30183]: pam_krb5[30183]: error removing ccache 'FILE:/tmp/krb5cc_6923_0tITd2'
Environment
- Red Hat Enterprise Linux 6.1
- pam_krb5-2.3.11-5.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.