#!/bin/sh
KRBTKFILE=$DEFTKFILE aklog athena
AFSCELL=sipb.mit.edu
KRBTKFILE=/tmp/tkt.$USER.root 
KRB5CCNAME=/tmp/krb5cc_$USER.root
SHELL=/bin/athena/tcsh
export AFSCELL KRBTKFILE KRB5CCNAME SHELL
if [ -r /usr/athena/bin/krb524init ]; then
  klist -s || kinit $USER/root || exit
else
  klist -t || kinit $USER.root || exit
fi
aklog sipb
PROMPT="(afs) $PROMPT"
export PROMPT
/bin/athena/tcsh
unlog
