diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/ChangeLog | 5 | ||||
| -rw-r--r-- | src/appl/bsd/login.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index b06fc6a08..5cb08d5ef 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -302,6 +302,11 @@ Sun May 19 15:22:06 1996 Sam Hartman <hartmans@mit.edu> * 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: diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index ea978e6d0..659a8bdc0 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -482,7 +482,7 @@ void k_init (ttyn) /* 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 { |
