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

Last change on this file since 74 was 74, checked in by jbarnold, 18 years ago
daemon.keytab should not live in /home/afsagent to avoid deletion with package
File size: 381 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
6# Option #1: invoke kinit with a password
7#echo "password" | @kinit_path@ >/dev/null daemon/scripts.mit.edu
8
9# Option #2: invoke kinit with a keytab
10@kinit_path@ -k -t /etc/daemon.keytab daemon/scripts.mit.edu
11
12# Obtain AFS tokens
13@aklog_path@
14@aklog_path@ -c sipb
Note: See TracBrowser for help on using the repository browser.