diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-08-22 11:12:17 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-08-22 11:13:54 -0400 |
commit | 04855847afecf638c71802468a8a0c4413517335 (patch) | |
tree | d3088a595a730e13357a0895ae03600dc83607e7 | |
parent | Added alpha to ssh config (diff) |
Fix zshenv to have the right environment for when we call rkinits from cron
-rw-r--r-- | .zshenv | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,11 +1,12 @@ aklogs () { for r in CS.CMU.EDU ANDREW.CMU.EDU; do - KRB5CCNAME=`klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r + KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` aklog -c $r -k $r done + aklog club.cc.cmu.edu } rkinits () { for r in CS.CMU.EDU ANDREW.CMU.EDU; do - KRB5CCNAME=`klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r + KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r done aklogs } |