[20045] in Athena Bugs
Re: Long job support needed
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Dec 5 19:07:24 2001
Message-Id: <200112060007.TAA25816@brad-majors.mit.edu>
To: Thomas E Cavin <cavin@MIT.EDU>
cc: Athena Bugs list <bugs@MIT.EDU>, Tom Cavin <tec@ai.mit.edu>
In-Reply-To: Your message of "Wed, 05 Dec 2001 17:31:58 EST."
<15374.41054.245888.762183@lap1-wccf.mit.edu>
Date: Wed, 05 Dec 2001 19:07:21 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>
>> Is there any way to get something like 24 hour tickets? What is the
>> basic limit on ticket lifetime?
Have you looked into the -l and -r flags to kinit? -l will allow you
to get tickets longer than the default lifetime, up to a limit of (I
believe) 21 hours. The -r flag allows you to specify the "renewable
lifetime" of tickets, up to a maximum of 1 week. Within the renewable
lifetime, if you have a ticket that's unexpired, you can "kinit -R" to
get a new ticket. "man kinit" for more information on this.
Using this, it's possib le to have your long job running, and also
have a seperate script running with does the equivalent of:
while (1)
kinit -R
aklog
sleep <18 hours>
done
Which should keep you authenticated up to the renewable lifetime
lomit of the tickets.
Garry