Coda File System

Re: How to renew coda tickets and tockens automatically?

From: <>
Date: Mon, 11 Jul 2016 18:30:43 +0200
On Mon, Jul 11, 2016 at 03:00:04PM +0200, Karl-Philipp Richter wrote:
> Am 11.07.2016 um 13:05 schrieb
> > Without Kerberos you have no use for krenew but still can do something
> > like
> >
> >  while sleep 30000; do clog xxx_at_yyyy </protected/file/with/a/pass; done

> That seems
> to be a good solution. Isn't it easier to run that in a cron job?

The code above merely corresponds to a certain usage case of krenew.

The choice of how to periodically run clog is of course up to you.
Different ways may better suit different scenarios.

Refreshing credentials of a user without any administrative rights over
the computer and possibly even without a right to run cron jobs is not
the same as e.g. allowing persistent service daemons access data on Coda.

Just in case, note that clog shall be run as the uid which is to have the
Coda credentials (in case you would like to put clog in root's crontab).

> > Does this address your needs?
> Perfectly. Thanks.

Glad to hear!

Received on 2016-07-11 12:31:17