kerberos update

This commit is contained in:
caubet_m 2022-07-15 13:10:52 +02:00
parent 6050d62c96
commit a80fcbe7f0

View File

@ -129,11 +129,13 @@ kinit -kt "$HOME/.k5/krb5.keytab" $USER@D.PSI.CH
* To obtain a granting AFS ticket, run `aklog`: * To obtain a granting AFS ticket, run `aklog`:
```bash ```bash
aklog aklog
``` ``**
### Slurm batch script example: obtaining KRB+AFS granting tickets ### Slurm batch script example: obtaining KRB+AFS granting tickets
* Example 1 (**recommended**, shared cache file): #### Example 1: shared cache file
This is the **recommended*** way for running:
```bash ```bash
#!/bin/bash #!/bin/bash
@ -154,10 +156,10 @@ aklog
klist klist
echo "Here should go my batch script code." echo "Here should go my batch script code."
`` ```
#### Example 2: independent cache file
* Example 2 (independent cache file):
```bash ```bash
#!/bin/bash #!/bin/bash
#SBATCH --partition=hourly # Specify 'general' or 'daily' or 'hourly' #SBATCH --partition=hourly # Specify 'general' or 'daily' or 'hourly'