accurev mkuser { -kf | -kd | -kk } <principal-name> [ <password> ]
[ -e <email_address> ] [ -s <ssh_public_key> ]The mkuser command defines a new user by creating a new principal-name in AccuRev’s user registry. The user is licensed in one of these ways:
• 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.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.-e <email_address>-s <ssh_public_key>
• Enter text characters only. If you are copying the SSH key from an id-rsa.pub file, for example, make sure not to introduce new-line characters or spaces.
• You can omit the ssh-rsa string that appears before the key, and the email address that appears at the end of the key. If you choose to include these values, however, the entire argument for the -s option must be in double quotes. For example:
"ssh-rsa AAAAB3NzaC1yc2EAAAADA..../tvfVdfO17me/Wh user@company.com"
Note that ssh-rsa is assumed. If you are using ssh-dss, you must include the entire argument as shown in the preceding example, substituting ssh-dss for ssh-rsa.Create a new user named john_smith, licensed to use both the configuration management and issue management facilities.
Micro Focus |