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

Re: start-commit user access scripts

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-01 04:04:32 CEST

Blair Zajac <blair@orcaware.com> writes:
> I'm looking at COMMITTERS and I'm guessing that there's a script on
> svn.collab.net that is run from start-commit that checks to make
> sure a particular user can modify portions of the repository.
>
> If this is the case, can somebody who has access to svn.collab.net add
> the scripts that check this to the svn repos? My own svn tree needs
> to limit user privileges.

Actually, it's done with an Apache directive in httpd.conf:

   <Location /repos/svn>
           DAV svn
           SVNPath /usr/www/repositories/svn
           AuthType Basic
           AuthName "Subversion repository"
           AuthUserFile /path/to/user-password-file
           <LimitExcept GET PROPFIND OPTIONS REPORT>
             require valid-user
           </LimitExcept>
   </Location>

You can guess what `user-password-file' looks like:

   sussman:3cWfQ5Fd3IHDs
   cmpilato:l/Reg4KcCoRzA
   daniel:SPdOtlrj3Tulo
   rassilon:fJQV.wcKXsv1s
   joe:Mj5PfWII6owEc
   ghudson:269Bj0om7dcck
   kfogel:kWHEfNSw8E072
   fitz:yQ6e3UKenEtHs
   gstein:eqdruAKenuVIY
   brane:KDo7y/rCeccpI
   kevin:Y8cSAmqwlcE9c
   jimb:EXYREM6Z.WXwg
   XelaRellum:wxdbNuNbFBY8g
   david:8rToUdoo7RU16
   yoshiki:qFKod7M78YfKM
   philip:Xe3ni9SyCn9Vo
   striker:kZJZDbRT494YE
   jerenkrantz:Qyh9cksgD0/zQ
   rooneg:7M0spRgNEsXj2
   kbohling:plf1/rKKv16Fg
   bcollins:0gp5G.XWEzb2.
   blair:j3yae38dSetTg
   naked:PT08jPeEmyC32
   nsd:cNhtNRN25Asoo

And no, those aren't their real encrypted passwords :-).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 1 04:13:32 2002

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

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