Page info
Author
Wichert Akkerman
Navigation
Home
Where it all starts
Code
Useful and useless code
Presentations
What I have been telling others
Rants
I love to complain
My sites
Paradiso calendar
An easy to use calendar
HugeURL
For better URL bragging rights

cvs-repouid

Summary CVS pserver repository user override
Current version 0.1
Downloads cvs-repouid-0.1.ptc

CVS is a common source control system used by the majority of all free software projects. It provides remote access to repositories via its pserver system. Unfortunately pserver is not very secure:

To solve this I wrote the cvs-repouid patch which does two things: it allows the administrator to force usage of a specific account for a repository instead of the ones given in the CVSROOT/passwd file, and it prevents pserver from running as root. This gives the owner of the repository the freedom to modify accounts for his repository while preventing abuse.

This is administered through the new /etc/cvs-repouids file which has a very simple syntax: each line contains a repository path and a accountname, seperated by a colon (:). For example:

      /cvs/dpkg:wichert
      /cvs/pyrad:anon-pyrad
    

This forces the account wichert to be used when the dpkg repository is accessed and the anon-pyrad account when the pyrad repository is accessed.

Changes

0.1
  • First release