On Tue, Feb 08, 2000 at 01:23:45PM -0600, Dave Lorand wrote:
> So, I suppose I need to give AFS tokens to either a daemon or a cron
> job to do the mirroring. How is this usually done?
We use a program to authenticate cron jobs and other daemons
called afscron:
afscron [-v] [-p] [-s] [-t seconds] [-u user] [-c command]
-v sets verbose mode
-p sets a new PAG before setting the token
-s tries to set uid and gid to the values for the user;
default is to run as root
-t specifies lifetime of ticket in seconds; default is max
-u user name for authentication; may be user.instance; default
(for historical reasons) is adm.admin
-c command to be executed; default is /bin/bash
The command presumes an up-to-date token has been written to a
secure directory using another command ('update_token username'),
and reads this. I've put the current source for both programs
into /afs/transarc.com/public/afs-contrib/src/manch-cc/cron.
-- Owen
[EMAIL PROTECTED]