DCache access from Chicago Batch Que You need to set the environmental variable KRB5CCNAME to a file on NFS that you want your tickets to be stored when you create the ticket and inside the batch job. example (sh-centric): export K5B5CCNAME=/home/cdf/jrlilly/.ssh/kerberos You then need to get an address-less ticket, allow the ticket to be renewed (as Un-ki related, the max ticket lifetime is set to 26 hours by CDF), make it forward-able, set the ticket life to one day, and extend the renewable time (the example sets it to 7 days). example: kinit -A -f -r 7d -l 1d kinit -R can only run will the ticket is still valid, so you need a cron'd job to automatically renew your ticket. I'm using a script to run the renewing for me: env KRB5CCNAME=/home/cdf/jrlilly/.ssh/kerberos /usr/kerberos/bin/kinit -R env KRB5CCNAME=/home/cdf/jrlilly/.ssh/kerberos /usr/kerberos/bin/klist The second line is simply so I get an email when my principal is renewed successfully. This script is saved in ~jrlilly/bin/krenew and set to chmod 744. Using crontab -e I have the following crontab entry: 0 12 * * * /home/cdf/jrlilly/bin/krenew