Revision 24097,
467 bytes
checked in by broder, 15 years ago
(diff) |
In shell-config:
* Only pass -45 to kinit on systems that still have a krb4. (Trac: #417)
|
Rev | Line | |
---|
[22685] | 1 | #!/usr/bin/tcsh |
---|
[22697] | 2 | # Global cshrc file for Debathena machines |
---|
[22685] | 3 | |
---|
[22697] | 4 | setenv HOSTTYPE "`/bin/machtype`" |
---|
| 5 | setenv ATHENA_SYS `/bin/machtype -S` |
---|
[22685] | 6 | if ( $ATHENA_SYS == "" ) then |
---|
| 7 | setenv ATHENA_SYS @sys |
---|
| 8 | endif |
---|
[22697] | 9 | setenv ATHENA_SYS_COMPAT `/bin/machtype -C` |
---|
[22685] | 10 | |
---|
[24097] | 11 | alias renew 'set KINIT_ARGS=""; \ |
---|
| 12 | kinit -4 </dev/null >& /dev/null; \ |
---|
| 13 | if ($? != 3) set KINIT_ARGS="-45"; \ |
---|
| 14 | kinit $KINIT_ARGS "$ATHENA_USER" && aklog' |
---|
[23477] | 15 | |
---|
[22685] | 16 | set add_flags |
---|
[22697] | 17 | alias add 'eval `/bin/attach -Padd $add_flags \!:*`' |
---|
Note: See
TracBrowser
for help on using the repository browser.