source: server/common/oursrc/tokensys/renew.in @ 1019

Last change on this file since 1019 was 201, checked in by jbarnold, 17 years ago
forgot export
File size: 458 bytes
Line 
1#!/bin/sh
2
3# This script renews afsagent's tickets and tokens.
4# It is called by afsagent's crontab every 8 hours.
5
6export KRB5CCNAME=/home/afsagent/krb5cc
7export KRBTKFILE=/home/afsagent/tkt
8
9# Option #1: invoke kinit with a password
10#echo "password" | @kinit_path@ >/dev/null daemon/scripts.mit.edu
11
12# Option #2: invoke kinit with a keytab
13@kinit_path@ -k -t /etc/daemon.keytab daemon/scripts.mit.edu
14
15# Obtain AFS tokens
16@aklog_path@
17@aklog_path@ -c sipb
Note: See TracBrowser for help on using the repository browser.