31.4. Using the CVS Server

Once your server is running, CVS clients can connect to it using a repository path like :pserver:username@hostname:repository. Naturally, username must be replaced with the name of a user that the CVS server accepts, hostname with the hostname of your system, and repository with the correct repository directory.

To check out a directory, you could run commands like:

CVSROOT=:pserver:jcameron@fudu.webmin.com:/usr/local/cvsroot
export CVSROOT
cvs login
cvs checkout path/to/directory

The cvs login command should only be run if the server requires a password for the username. It will prompt you for a password, which is permanently stored in the file ~/.cvspass for use by other CVS commands in the future. Any time the ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.