source:
server/common/oursrc/tokensys/renew.in
@
  4
        
        | Last change on this file since 4 was 1, checked in by jbarnold, 19 years ago | |
|---|---|
| File size: 369 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@ >/dev/null daemon/scripts.mit.edu | 
| 8 | |
| 9 | # Option #2: invoke kinit with a keytab | 
| 10 | @kinit@ -k -t /home/afsagent/krb5.keytab daemon/scripts.mit.edu | 
| 11 | |
| 12 | # Obtain AFS tokens | 
| 13 | @aklog@ | 
| 14 | @aklog@ -c sipb | 
Note: See TracBrowser
        for help on using the repository browser.
    
