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 66e52037c0
commit 4c572ea296
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
#!/bin/sh #!/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"