[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ticket cache file



I don't think anyone has ever done locking on the ccache.  It's not  
typically a heavily updated resource.  (Doesn't mean there couldn't be  
a problem though.)

On Mar 25, 2008, at 10:58 AM, Harald Barth wrote:

>
> When using telnet/rsh/ssh/whatever, the krb library appends a service
> ticket to the FILE: ticket cache. Does the library serialize that with
> appropriate file locking or is that the responsibility of the calling
> program or user?
>
> Otherwise I suspect that this
>
> for n in `seq 1 500` ; do
>    rsh host$n date & >/dev/null
> done
>
> could lead to ticket cache corruption. The suspects are running
> Heimdal 0.7.2 on FC3 emt64 (if it does matter).
>
> Harald.

------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu