From 0f2154f929ba94def0566314b9f2bd1246a045b9 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 31 May 2018 14:40:45 -0400 Subject: KRB5CCNAME must be set for aklog in zshenv --- .zshenv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.zshenv') diff --git a/.zshenv b/.zshenv index 49e85ad..f0ab708 100644 --- a/.zshenv +++ b/.zshenv @@ -2,11 +2,11 @@ aklogs () { for r in CS.CMU.EDU ANDREW.CMU.EDU; do 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 + KRB5CCNAME=DIR:$HOME/.cache/krb5cc aklog club.cc.cmu.edu } rkinits () { for r in CS.CMU.EDU ANDREW.CMU.EDU; do KRB5CCNAME=`KRB5CCNAME=DIR:$HOME/.cache/krb5cc klist -l | grep $r | sed -e s'/.*:://g'` kinit -R rkavanag@$r done - aklogs + KRB5CCNAME=DIR:$HOME/.cache/krb5cc aklogs } -- cgit v1.2.3