The CVS server requires that all clients supply a valid username and password before they can perform any operations on the repository. Users are authenticated against a list of accounts used only by the server and optionally against the standard UNIX user database from the /etc/passwd and /etc/shadow files. Using only the server's user list for authentication is the best option, as it gives you more control over who is allowed to connect. See the documentation for the Check users against system password file? field in Section 31.7 “Configuring the CVS Server” for more information on turning on or off UNIX authentication.
For each CVS user, you can specify the name of a UNIX user whose permissions will be used for all file access. This can be useful if all files in your repository are owned by a single user, in which case all CVS access should be done as that user. This avoids the problem of ensuring that file permissions in the repository are set correctly so that people can edit and read each others' files.
To add a new login to the CVS user list, follow these steps:
1. | On the module's main page, click on the CVS Users icon. This will take you to a page containing a table of all existing users, as shown in Figure 31.2. Figure 31.2. The CVS users list. |
2. | Click on the Add a new CVS user link above or below the table to go to the user creation form. |
3. | |
4. | The Login password field is for entering the user's password. The available options are: None required If selected, the CVS server will accept any password or none at all when a client connects as this user. Copy from UNIX If chosen, the user's password is initially set to that of the UNIX user with the same name. Set to If selected, you must enter a password for the user into the field next to it. |
5. | The Access files as UNIX user field controls which UNIX user the CVS server will switch to when this CVS user connects. If Same as username is selected, then the UNIX user with the same name will be used. If the other option is chosen, however, you must enter a UNIX username into the adjacent field to access files as instead. |
6. |
Once a user has been created, you can edit it by clicking on its name in the table on the CVS users page. The editing form is the same as the one used for user creation, except that the Copy from UNIX option in the Login password field is replaced with Leave unchanged, which must be selected if you are not changing the password. When you are done editing a user, click the Save button. Or to delete the user, click on Delete on the editing form instead.
This page can also be used to set up synchronization between the CVS user list and the UNIX user database. This can be useful for keeping passwords in sync, or for having a CVS user deleted when the corresponding UNIX user is removed. Chapter 4 explains in more detail how user synchronization works in Webmin, but follow these steps to set it up for this module:
18.224.31.50