| 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.