You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Dailey <rc...@gmail.com> on 2008/10/16 02:37:31 UTC
User management
Hi,
Currently I'm using svnserve to host my repository. One of the main concerns
I have is reliably and efficiently creating users for my repository. I'm
always having to manually add users to the passwd file and giving them
passwords. I would like them to be able to set their own password through
some sort of web interface. Something that would be a bit better is to have
them visit a website where they create an account and I later approve it,
and until I approve it, I could set unauthorized new accounts to have only
read access. Approval might give them write access.
Is there such a thing? I don't want to have to resolve to http:// protocol
for SVN because it's much slower, so if I can make that a last resort it
would be great.
Re: User management
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 15, 2008, at 21:37, Robert Dailey wrote:
> Currently I'm using svnserve to host my repository. One of the main
> concerns I have is reliably and efficiently creating users for my
> repository. I'm always having to manually add users to the passwd
> file and giving them passwords. I would like them to be able to set
> their own password through some sort of web interface. Something
> that would be a bit better is to have them visit a website where
> they create an account and I later approve it, and until I approve
> it, I could set unauthorized new accounts to have only read access.
> Approval might give them write access.
>
> Is there such a thing? I don't want to have to resolve to http://
> protocol for SVN because it's much slower, so if I can make that a
> last resort it would be great.
This tool says it lets you manage users:
http://svnmanager.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: User management
Posted by Trevor Harmon <tr...@vocaro.com>.
On Oct 16, 2008, at 12:26 PM, David Weintraub wrote:
> I'd recommend svnmanager too, but that's for http.
Also HTTP-only, but more versatile and powerful than svnmanager, is
LDAP authentication:
http://pteropus.blogspot.com/2008/04/securing-subversion-via-ldap.html
Trevor
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: User management
Posted by Robert Dailey <rc...@gmail.com>.
On Thu, Oct 16, 2008 at 4:45 PM, Ryan Schmidt <
subversion-2008c@ryandesign.com> wrote:
>
> On Oct 16, 2008, at 13:12, Robert Dailey wrote:
>
> On Thu, Oct 16, 2008 at 11:40 AM, wrote:
>>
>>> >I just don't like any of the current protocols:
>>> >
>>> >http --> too slow
>>> >https --> even more slow, difficult to setup
>>> >svn --> insecure, featureless, dull
>>>
>>>
>>> Dull? What does that mean? It works great and fast. And its security
>>> is fine for many cases, though certainly not for public servers.
>>>
>>>
>>> >svn+ssh --> pain in the ***, doesn't play well with TortoiseSVN.
>>>
>>>
>>> That's not true, it works fine. Take a look at Pageant (part of PuTTY)
>>> or an equivalent SSH key agent.
>>>
>>>
>>> I say it is dull because it is featureless. I have to edit a text file
>> to add uers, that's pretty dull and featureless to me.
>>
>
> How would you prefer to edit users? If your complaint is that there is not
> a GUI or web app to edit the file, then write one. It's just a text file;
> it's easy to write a program to edit it. (Though it's probably even easier
> to just edit the text file by hand.)
>
>
> Sure, it's fast, that's why I like it. But being fast doesn't make it the
>> greatest thing ever to me.
>>
>
> And yet your only complaint about http is that it's slow. So obviously
> speed is an important consideration for you.
>
>
> I think it's pretty nice that we have the option of a lean, simple server
> (svnserve) or a more full-featured server (apache). I think it's not
> unreasonable that more features come at the expense of some simplicity and
> speed. That said, svnserve continues to be improved and gain new features.
>
>
>
> And svn+ssh works fine for *you*. For me, I've had endless issues out of
>> the authentication dialog in TortoiseSVN (It not showing up, etc).
>>
>
>
>
>
I thought of one option that I think I would like very much.
Right now passwords are stored in passwd as raw text. Would it be possible
to hash the password or encrypt it somehow? This way I could send people a
small script to run where they type their desired password and send me the
generated hash value back in an email and I can create their account with
that password. This way I never actually know what password they chose. The
ultimate goal here is to be able to create svnserve accounts for users
without having to see their password.
Re: User management
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 16, 2008, at 13:12, Robert Dailey wrote:
> On Thu, Oct 16, 2008 at 11:40 AM, wrote:
>> >I just don't like any of the current protocols:
>> >
>> >http --> too slow
>> >https --> even more slow, difficult to setup
>> >svn --> insecure, featureless, dull
>>
>>
>> Dull? What does that mean? It works great and fast. And its
>> security is fine for many cases, though certainly not for public
>> servers.
>>
>>
>> >svn+ssh --> pain in the ***, doesn't play well with TortoiseSVN.
>>
>>
>> That's not true, it works fine. Take a look at Pageant (part of
>> PuTTY) or an equivalent SSH key agent.
>>
>>
> I say it is dull because it is featureless. I have to edit a text
> file to add uers, that's pretty dull and featureless to me.
How would you prefer to edit users? If your complaint is that there
is not a GUI or web app to edit the file, then write one. It's just a
text file; it's easy to write a program to edit it. (Though it's
probably even easier to just edit the text file by hand.)
> Sure, it's fast, that's why I like it. But being fast doesn't make
> it the greatest thing ever to me.
And yet your only complaint about http is that it's slow. So
obviously speed is an important consideration for you.
I think it's pretty nice that we have the option of a lean, simple
server (svnserve) or a more full-featured server (apache). I think
it's not unreasonable that more features come at the expense of some
simplicity and speed. That said, svnserve continues to be improved
and gain new features.
> And svn+ssh works fine for *you*. For me, I've had endless issues
> out of the authentication dialog in TortoiseSVN (It not showing up,
> etc).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Re: User management
Posted by Robert Dailey <rc...@gmail.com>.
On Thu, Oct 16, 2008 at 11:40 AM, <Pa...@dell.com> wrote:
> *>*I just don't like any of the current protocols:
> >
> >http --> too slow
> >https --> even more slow, difficult to setup
> >svn --> insecure, featureless, dull
>
>
>
> Dull? What does that mean? It works great and fast. And its security is
> fine for many cases, though certainly not for public servers.
>
>
> >svn+ssh --> pain in the ***, doesn't play well with TortoiseSVN.
>
>
>
> That's not true, it works fine. Take a look at Pageant (part of PuTTY) or
> an equivalent SSH key agent.
>
I say it is dull because it is featureless. I have to edit a text file to
add uers, that's pretty dull and featureless to me. Sure, it's fast, that's
why I like it. But being fast doesn't make it the greatest thing ever to me.
And svn+ssh works fine for *you*. For me, I've had endless issues out of the
authentication dialog in TortoiseSVN (It not showing up, etc).
RE: Re: User management
Posted by Pa...@Dell.com.
>I just don't like any of the current protocols:
>
>http --> too slow
>https --> even more slow, difficult to setup
>svn --> insecure, featureless, dull
Dull? What does that mean? It works great and fast. And its security is fine for many cases, though certainly not for public servers.
>svn+ssh --> pain in the ***, doesn't play well with TortoiseSVN.
That’s not true, it works fine. Take a look at Pageant (part of PuTTY) or an equivalent SSH key agent.
paul
Re: User management
Posted by Robert Dailey <rc...@gmail.com>.
On Thu, Oct 16, 2008 at 11:26 AM, David Weintraub <qa...@gmail.com> wrote:
> I'd recommend svnmanager too, but that's for http.
>
> The password file in Subversion is a text file, so it shouldn't be too
> difficult to write some sort of script to manage this. This could be
> placed in a web interface via CGI scripting, using PHP, JavaScript, or
> some other mechanism. Heck, it doesn't have to be in the same
> directory as the repository. You can set where this file in your
> svnserve.conf file. The svnserve process doesn't have to have write
> permissions, but does need read permissions.
>
> The real issue is security: If you have a process that allows others
> to update this file, you have the possibility that others can also
> read this file and see other people's passwords. After all, it is in
> clear-text format.
>
> I did this about three years ago back in the Subversion 1.2 days. Took
> me about three to four hours to get a Perl script running via CGI to
> do what I want.
>
> Another possibility is to do this via SASL. This is a new feature of
> Subversion 1.5, so I haven't tried this yet, but it is documented in
> the Subversion book. See <http://peek.snipurl.com/4f272>
> [svnbook_red-bean_com] and <http://snipurl.com/4f280>
> [asg_web_cmu_edu] for more information.
>
> Or, you can use the old standby: svn+ssh:// as your protocol. This can
> be a bit tricky to setup, but it isn't too difficult. The big problem
> is that this works best for Unix sites that use the standard Unix
> security. It could be possible if you use Samba to do this via Windows
> security too, but that gets a little messy.
I just don't like any of the current protocols:
http --> too slow
https --> even more slow, difficult to setup
svn --> insecure, featureless, dull
svn+ssh --> pain in the ***, doesn't play well with TortoiseSVN.
I guess I'll have a look at SASL, not really sure what it is though. I'll
have to read on it.
Re: User management
Posted by David Weintraub <qa...@gmail.com>.
I'd recommend svnmanager too, but that's for http.
The password file in Subversion is a text file, so it shouldn't be too
difficult to write some sort of script to manage this. This could be
placed in a web interface via CGI scripting, using PHP, JavaScript, or
some other mechanism. Heck, it doesn't have to be in the same
directory as the repository. You can set where this file in your
svnserve.conf file. The svnserve process doesn't have to have write
permissions, but does need read permissions.
The real issue is security: If you have a process that allows others
to update this file, you have the possibility that others can also
read this file and see other people's passwords. After all, it is in
clear-text format.
I did this about three years ago back in the Subversion 1.2 days. Took
me about three to four hours to get a Perl script running via CGI to
do what I want.
Another possibility is to do this via SASL. This is a new feature of
Subversion 1.5, so I haven't tried this yet, but it is documented in
the Subversion book. See <http://peek.snipurl.com/4f272>
[svnbook_red-bean_com] and <http://snipurl.com/4f280>
[asg_web_cmu_edu] for more information.
Or, you can use the old standby: svn+ssh:// as your protocol. This can
be a bit tricky to setup, but it isn't too difficult. The big problem
is that this works best for Unix sites that use the standard Unix
security. It could be possible if you use Samba to do this via Windows
security too, but that gets a little messy.
--
David Weintraub
qazwart@gmail.com
On Wed, Oct 15, 2008 at 10:37 PM, Robert Dailey <rc...@gmail.com> wrote:
> Hi,
>
> Currently I'm using svnserve to host my repository. One of the main concerns
> I have is reliably and efficiently creating users for my repository. I'm
> always having to manually add users to the passwd file and giving them
> passwords. I would like them to be able to set their own password through
> some sort of web interface. Something that would be a bit better is to have
> them visit a website where they create an account and I later approve it,
> and until I approve it, I could set unauthorized new accounts to have only
> read access. Approval might give them write access.
>
> Is there such a thing? I don't want to have to resolve to http:// protocol
> for SVN because it's much slower, so if I can make that a last resort it
> would be great.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org