4 # nothing need for root
6 if [ $UID -eq 0 ]; then
10 if [ -z "$KRB5DIR" ]; then
14 $KRB5DIR/bin/klist -5 -s
17 if [ $invalid -eq 0 ]; then
21 echo "***** refresh Kerberos V5 TGT for uid $UID *****"
22 if [ -z "$GSS_PASS" ]; then
30 set spawnid [spawn /bin/bash]
31 send "export PS1=\"user@host $ \" \r"
33 timeout {puts "timeout" ;exit 1}
37 send "$KRB5DIR/bin/kinit\r"
39 timeout {puts "timeout" ;exit 1}
45 timeout {puts "timeout" ;exit 1}