[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn and cron

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-12-12 13:05:06 CET

On 12/12/06, Vincent Lefevre <vincent+svn@vinc17.org> wrote:
> On 2006-12-11 20:50:49 -0600, Ryan Schmidt wrote:
> > Curious. What do you need expect for in this scenario? svn is not an
> > interactive program. The only thing I think it can prompt for is the
> > username and password, and you can provide that with the --username
> > and --password options without resorting to something like expect.
>
> The --password option may be a security hole, e.g. if there are
> several users on the machine.

Yup. If you want authentication, it'll be hard to get right from a
cron job, especially with several users on one machine (ie you can't
whitelist an IP).

Also note that if you want to prevent user interaction in your script,
you should pass the --non-interactive command line option.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 12 13:06:08 2006

This is an archived mail posted to the Subversion Users mailing list.