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

Re: anon write access with author?

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 16 Sep 2009 13:12:18 +0100

On Wed, Sep 16, 2009 at 04:59:59AM -0700, Justin wrote:
> Hi,
> We run svnserve with anon-access=write to save us maintaining password
> & user lists. However we'd like to be able to populate the author
> field (which is empty with anonymous write access).
> We're not worried about properly authenticated users/authors (we are a
> small enough group to trust each other to Do The Right Thing), but
> nonetheless we'd like the option to populate the Author field when we
> commit changes as it is useful to see who did what.
> Is there a way to add an Author without being fully authenticated?

It's not possible to pass additional parameters to the svnserve
process via svn://, so no, I don't think what you want to do is

But you could setup authentication with SSH, using a single, shared,
and non-passphrase protected SSH key[*]. Then you could, on the server side,
take control of the command executed and pass a --tunnel-user option
to the svnserve process invoked on the server when connecting via svn+ssh://.

See http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshtricks.fixedcmd


[*] I'd still recommend to just do authentication anyway, and generate
    a unique and passphrase-protected SSH key for each user.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-16 14:13:13 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.