From 4c572ea2961ad7a1355d127e01db3117a1703ff3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 10 May 2017 11:48:29 -0700 Subject: [PATCH] zmirror-renew-kerberos: Clean up hardcoding of user ID. --- bots/zmirror-renew-kerberos | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bots/zmirror-renew-kerberos b/bots/zmirror-renew-kerberos index d8fe9986a3..efd4d0d02e 100755 --- a/bots/zmirror-renew-kerberos +++ b/bots/zmirror-renew-kerberos @@ -1,2 +1,3 @@ #!/bin/sh -env KRB5CCNAME=/tmp/krb5cc_1000.tmp kinit -k -t /home/zulip/tabbott.extra.keytab tabbott/extra@ATHENA.MIT.EDU; mv /tmp/krb5cc_1000.tmp /tmp/krb5cc_1000 +krb_user_id=1051 +env KRB5CCNAME=/tmp/krb5cc_"$krb_user_id".tmp kinit -k -t /home/zulip/tabbott.extra.keytab tabbott/extra@ATHENA.MIT.EDU; mv /tmp/krb5cc_"$krb_user_id".tmp /tmp/krb5cc_"$krb_user_id"