zmirror-renew-kerberos: Clean up hardcoding of user ID.

This commit is contained in:
Tim Abbott 2017-05-10 11:48:29 -07:00
parent fed5180d19
commit 576c6f51f0

View file

@ -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"