On 13/12/16 09:52 +0100, Vít Ondruch wrote:
Dne 12.12.2016 v 22:33 Kevin Fenzi napsal(a):
> First, I'll note you don't need to get a new ticket every day, you can
> just renew with 'kinit -R'.
Not sure what is the difference here, may be you want to explain.
'kinit -R' doesn't need a password, it just renews an existing ticket.
So if you enter the password you can then renew it non-interactively
for the next week.
> I am not sure what env kinit needs, but you
> may even be able to do this from a cron job. That will work for 1 week.
Renewing tickets with 'kinit -R' definitely does work from cron jobs.