Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

CVS Administrator Reference

This section provides details on creating and configuring repositories and performing other CVS administrative tasks. A single computer can run multiple copies of the CVS server, and each server can serve multiple repositories.

Creating a Repository

Select a directory that will contain the repository files (/usr/local/cvsrep is used in the following examples). Use the init command to initialize the repository. Either set the CVSROOT environment variable first:

user@localhost$ export CVSROOT=/usr/local/cvsrep
user@localhost$ cvs init

or use the -d option to specify the repository location:

user@localhost cvs -d /usr/local/cvsrep init

For information on importing code, see Section 18.3, later in this chapter—especially import and add.

Setting up the password server

If you want users to access the repository from other computers, then configure the pserver by doing the following as root:

  1. Make sure there is an entry in /etc/services similar to the following:

    cvspserver 2401/tcp
  2. If you are not using tcpwrappers, then place a line like this in /etc/inetd.conf:

    cvspserver stream tcp nowait root /usr/bin/cvs cvs 
    --allow-root=/usr/local/cvsroot pserver
  3. If you are using tcpwrappers, then use a line like this:

    cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs 
    --allow-root=/usr/local/cvsroot pserver
  4. Once these changes are in place, restart inetd (or send it the appropriate signal to cause it to re-read inetd.conf).

Security Issues

The following are security ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata