The Login command establishes your AccuRev
user identity. In the "User Name" field, you must enter the name of a registered AccuRev user . If your organization has more than one AccuRev
repository (each managed by a separate
AccuRev Server process), you can choose a particular Server to connect to.
Note: Active and inactive users. A user name can be Inactive (
Remove User command) or Active (when first created;
Reactivate User command). When you log in, the username must be currently
Active.
Choose Tools > Login from the GUI main menu. This command is invoked automatically ...
A successful Login command creates an encrypted file in subdirectory
.accurev of your home directory. This file records your AccuRev username and password, along with the IP address of your client machine. Most AccuRev client commands can be executed only by an authorized user. Such commands send the information in your session file to the AccuRev Server process, so that you don't need to repeatedly "remind" the AccuRev Server who (and where) you are.
The name of the session file includes the hostname and port number of the AccuRev Server. If you Login to different AccuRev Server processes, you'll have multiple session files, one for each Server. Example:
These session files indicate that your are logged in to an AccuRev Server on host venus, listening on port 5050, and are also logged into two different AccuRev Server processes on host
mars.
What if you want to be testuser john in one GUI window, but testuser
mary in another -- both using the same AccuRev Server? You can't have two session files with the same name (for example,
session_VENUS_5050) in your
.accurev subdirectory. But you can have two or more session files with the same name in different
.accurev subdirectories. The AccuRev GUI uses the value of environment variable
ACCUREV_HOME as the location of the
.accurev subdirectory (and will create this subdirectory, if necessary). It also uses
ACCUREV_HOME whenever it checking for the existence of a session file in order to authenticate you.