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)
|
Line | |
---|
1 | #!/usr/bin/tcsh |
---|
2 | # Global cshrc file for Debathena machines |
---|
3 | |
---|
4 | setenv HOSTTYPE "`/bin/machtype`" |
---|
5 | setenv ATHENA_SYS `/bin/machtype -S` |
---|
6 | if ( $ATHENA_SYS == "" ) then |
---|
7 | setenv ATHENA_SYS @sys |
---|
8 | endif |
---|
9 | setenv ATHENA_SYS_COMPAT `/bin/machtype -C` |
---|
10 | |
---|
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' |
---|
15 | |
---|
16 | set add_flags |
---|
17 | alias add 'eval `/bin/attach -Padd $add_flags \!:*`' |
---|
Note: See
TracBrowser
for help on using the repository browser.