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

Re: subversion tunnels and userv

From: Krishna Mohan Gundu <gkmohan_at_gmail.com>
Date: 2006-05-17 11:11:25 CEST

> I tried it out with sudo now and it works like a charme. All I had to
> do was write a little wrapper-script with the following content:
>
> sudo -u user /usr/local/bin/svnserve -t
>
> This works great, but there is still one problem. I have to place the

Can you please detail? I could not get this to work. I set up sudoers
and everything. But I cant get svn to run sudo.

repository
========
/home/joe/repos/testmodule

/etc/sudoers
==========
john localhost@localdomain = (joe) NOPASSWD:/usr/bin/svnserve

then i tried
1)
/home/john/.subversion
===================
[tunnel]
sudossh = ssh sudo -u joe

ran
svn checkout svn+sudossh://localhost.localdomain/home/joe/repos/testmodule

gives the follow error:
ssh: illegal option -- u

I dont know if this is a bug. Why the ssh command is being parsed?
Instead of just running sudo -u joe svnserve -t?

2)
.bashrc
======
export PATH = ./:$PATH

/home/john/svnserve
=================
#!/bin/bash
echo "hello"
sudo -u joe /usr/bin/svnserve -t

then ran
svn checkout svn+ssh://localhost.localdomain/home/joe/repos/testmodule

got the error
svn: No repository found in
'svn+ssh://localhost.localdomain/home/joe/repos/testmodule'

How did you do it? I dont seem to understand what svn is doing when I
run "svn+..."

thanks,
Krishna

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 17 11:13:03 2006

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.