AccuRev® Command-Line Reference : mkuser

mkuser
register a new username
Usage
accurev mkuser { -kf | -kd } <principal-name> [ <password> ]
Description
The mkuser command defines a new user by creating a new principal-name in AccuRev’s user registry. The user is licensed in either of these ways:
can use both AccuRev configuration management and AccuWork issue management (“full” license)
AccuRev operations can be performed only by someone who has a principal-name in the registry, and has a license appropriate for the operation. Each transaction records the principal-name of the person who performed it.
To list the existing principal-names, use the show users command. To rename a user (e.g. to fix a spelling error or change cindi to cyndee), or to change the kind of license for a user, invoke the chuser command.
See Entity Names on page 6 for information on naming users. If you rename an existing user with the chuser command, you can then create a new user with the original principal-name. The two users have different numeric user-IDs, and are unrelated.
Principal-names and Usernames
Your principal-name is independent of the username (login name) by which the operating system knows you. You might be working in a heterogeneous network, where there are multiple incompatible operating-system user registries. Similarly, your organization might be using AccuRev at multiple sites. In such situations, you can (and must!) use the same principal-name wherever you work, even though your operating-system username varies from machine to machine.
Security: Principal-names and Passwords
Principal-names are also needed for AccuRev security. A user with a password is considered to be an “authorized user” by the AccuRev ACL facility.
Options
-kf
(default) Create a user licensed for both configuration management and issue management (AccuWork).
-kd
Create a user licensed for issue management (AccuWork) only. The user can access a AccuWork issues in a depot (unless restricted by an ACL permission), but cannot access the version-controlled files in any depot.
Examples
Create a new user named john_smith, licensed to use both the configuration management and issue management facilities.
> accurev mkuser john_smith
Create a new AccuWork user named jane_doe, with password cv78w.
> accurev mkuser -kd jane_doe cv78w
See Also
chpasswd, chuser, lsacl, setacl, show users

AccuRev, Inc.
Phone: 781-861-8700
Fax: 781-861-8704
support@accurev.com