source: trunk/server/common/oursrc/tokensys/ @ 1882

Last change on this file since 1882 was 1594, checked in by geofft, 14 years ago
tokensys: aklog csail
File size: 480 bytes
3# This script renews afsagent's tickets and tokens.
4# It is called by afsagent's crontab every 8 hours.
[201]6export KRB5CCNAME=/home/afsagent/krb5cc
7export KRBTKFILE=/home/afsagent/tkt
[1]9# Option #1: invoke kinit with a password
[9]10#echo "password" | @kinit_path@ >/dev/null daemon/
12# Option #2: invoke kinit with a keytab
[74]13@kinit_path@ -k -t /etc/daemon.keytab daemon/
15# Obtain AFS tokens
17@aklog_path@ -c sipb
[1594]18@aklog_path@ -c csail
Note: See TracBrowser for help on using the repository browser.