* login.c (destroy_tickets main): Use a secure context
+Wed May 22 22:46:40 1996 Richard Basch <basch@lehman.com>
+
+ * login.c (k_init): Set the default KRB5CCNAME environment variable
+ consistently with other applications - FILE:/tmp/krb5cc_p<pid>
+
Thu May 9 00:09:14 1996 Richard Basch <basch@lehman.com>
* krlogind.c krshd.c:
/* Set up the credential cache environment variable */
if (!getenv(KRB5_ENV_CCNAME)) {
- sprintf(ccfile, "FILE:/tmp/krb5cc_%s", strrchr(ttyn, '/')+1);
+ sprintf(ccfile, "FILE:/tmp/krb5cc_p%d", getpid());
setenv(KRB5_ENV_CCNAME, ccfile, 1);
unlink(ccfile+strlen("FILE:"));
} else {