You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Benjamin Podszun <be...@galactic-tales.de> on 2007/06/18 14:03:21 UTC

Environment variable to set the --tunel-user?

Hi there.

I'm currently setting up svn/trac for some users. Everyone but me should 
be disallowed to login, but the project stuff will run with my non-root 
personal account. Reading the FAQ I found the nice --tunnel-user option 
for svnserve, but I'd love to use my key and be able to log in as before 
and still change my username for svn.

To make my requirement more clear and since I don't trust my english 
skills enough to be precise:

Current situation: My username on the machine is "dar":
I currently commit via svn+ssh and the logs know me as "dar"

I want to add some more "virtual" users, that get a restricted key for 
my user account, let's call them bob and alice.

Future possible setup:
Subversion logs commits for "dar", "bob" and "alice", the latter 2 are 
using the --tunnel-user option in the relevant line in my 
authorized_keys2 file.

What I really want:
Subversion logs commits for "ben", "bob" and "alice", me being the one 
called "ben" while still being served by my account "dar". I would like 
to stick with one ssh key for me though, so I don't see a way to pass 
the --tunnel-user option to svnserve without restricting my key to a 
specific command. The only alternative I can think of is setting a magic 
environment variable (via the environment definition for my own ssh key) 
which is atomatically used as SVN username by svnserve. Does something 
like that exist? Any other options, apart from using 2 keys?

Sorry for being overly extensive, but any help would be appreciated.

Regards,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org