From 44dd25db127ee981e7226ee41e197f711c58ccca Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 3 Sep 2008 04:10:34 +0000 Subject: [PATCH] Add optional argument to control whether to authenticate using a keytab (needed for cron access). --- etc/update-rcs-log | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/update-rcs-log b/etc/update-rcs-log index 33ee30d23..354b9af14 100755 --- a/etc/update-rcs-log +++ b/etc/update-rcs-log @@ -15,8 +15,10 @@ if [ -z "${CVS2CL}" ]; then exit 1 fi -#kinit -k -t /home/cph/cron.keytab cph/cron -#aklog +if [ -n "${1}" ]; then + kinit -k -t /home/${1}/cron.keytab ${1}/cron + aklog +fi COMMON="--revisions --usermap /scheme/v7/src/etc/usermap --domain zurich.csail.mit.edu --stdout --no-wrap --separate-header --window 3600" GOPTS_SCHEME="-d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/mit-scheme" -- 2.25.1