Now that you have write access to the CVS module, let's setup a few variables in your .cvsrc file, add a CVSROOT environment variable and login to the CVS repository.
If you don't already have a .cvsrc file in your home directory, create one now and add the following lines to it. Note that if you use Cygwin, your home directory opens first, when running the bash shell (it is the home/username directory under your cygwin install directory).
Each time you issue commands to the CVS repository, you have to specify the repository's cvsroot directory like this:
Instead of telling cvs where the repository is each time, you can set a default CVS repository in your CVSROOT environment variable.
For sh and bash users add the following to your .bashrc or .profile file.
For csh and tcsh users add the following to your .cshrc or .tcshrc file.
Note: The CVSROOT environment variable won't be set until the next time you log in. Also don't forget to change the username part to your CVS user name.
If you have Windows, use your regular way to add the new environment variable, according to the Windows version you are using (use the set command on Windows 9x, or the dialog box for setting environment variables on Windows 2000).
Now that you have the prep work out of they way, you will need to login to the CVS repository. Issue the following command:
Or, if you don't have your CVSROOT set, make sure you supply the correct cvsroot:
Change the username above to your own CVS user name. You will be asked to supply your password. Once you successfully login to the CVS respository, your encrypted password is stored in the .cvspass file in your home directory. You won't need to log back into the same repository again unless you delete that file (or issue a cvs logout). You can work for months without logging in again, as this file will remain there with the same content, leaving you logged in.