D. Add a CVS Group and User
[Previous] [Main] [Next]

D. Add a CVS Group and User


There are several ways to tackle this.
One of them is to do the following:

Edit the /etc/group file and add something like the following:
cvs:*:105:Hale,anonymous where Hale and anonymous are existing accounts.

A slightly more secure way is to create a special cvs account and group with no home folder and no password. This account is given access to the repository and everyone uses this account's rights.

/usr/sbin/useradd -r -c "CVS User" cvs
the -r is a Red Hat extension that creates a "system level" user
System level users do not have a home directory created.
-c is the comment that goes in the user list

The reason this version is a little more secure is that root is the only user who can directly make changes to the cvs folder.