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

Re: password cache warning, anyway to turn it off by default?

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 20 Aug 2009 20:22:04 +0100

On Thu, Aug 20, 2009 at 08:18:36PM +0100, Stefan Sperling wrote:
> On Thu, Aug 20, 2009 at 01:50:44PM -0500, James Yoo wrote:
> > I realize that the prompt regarding storing plaintext passwords to disk is a
> > new and good feature in most cases. I'm wondering if there is a way to turn
> > the warning off or to default it to "yes"? I've tried creating a global
> > config in PREFIX/etc/subversion/config and setting "store-passwords = yes"
> > and that works when using a svn:// url, but when authenticating via kerberos
> > through web_dav (i.e. http://...) the svn client seems to be ignoring the
> > system config entirely.
> >
> > Is it possible to turn the warning off as a compile time option when
> > compiling the client or is there some other way of making the
> > apache/kerberos/web_dav chain read a global config?
> >
> > I do realize that once you select yes/no at the prompt you are not bothered
> > again... we just don't want to see it in the first place.
>
> Put this in ~/.subversion/servers or /etc/subversion/servers:
>
> [global]
> store-plaintext-passwords=no

Oh, I read your question the wrong way. You want to set it to 'yes' :)

Anyway, that's where you can configure it -- the default is 'ask'.
You can also configure it on a per-server basis, see the default
~/.subversion/servers example configuration file for details.

If you don't have it, create a new config dir like so:
  svn help --config-dir=/tmp/newconfigdir
and then read /tmp/newconfigdir/servers.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385762

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-20 21:23:00 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.