AUTHORIZE RENAME — VMS 5.5-2H4
Changes the user name of the SYSUAF record (and, if specified, the
corresponding identifier) while retaining the characteristics of
the old record.
Format
RENAME oldusername newusername
Additional information available:
Parameters
oldusername Specifies the name of a user currently in the SYSUAF. newusername Specifies the new name for the user. It can contain 1 through 12 alphanumeric characters and underscores. Although dollar signs are permitted, they are usually reserved for system names.
Qualifiers
Additional information available:
/GENERATE_PASSWORD/MODIFY_IDENTIFIER/PASSWORD
/GENERATE_PASSWORD
/GENERATE_PASSWORD[=keyword]
/NOGENERATE_PASSWORD (default)
Invokes the password generator to create user passwords. Generated
passwords can consist of 1 to 10 characters. Specify one of the
following keywords:
BOTH Generate primary and secondary passwords.
CURRENT Do whatever the DEFAULT account does. This could mean
to generate primary, secondary, both, or no passwords.
This is the default keyword.
PRIMARY Generate primary password only.
SECONDARY Generate secondary password only.
Note that the /GENERATE_PASSWORD and /PASSWORD qualifiers are
mutually exclusive, and whenever you modify a password, the old
one expires automatically and the new one is valid only once. On
login, users are forced to change their passwords.
/MODIFY_IDENTIFIER
/MODIFY_IDENTIFIER (default)
/NOMODIFY_IDENTIFIER
Specifies whether the identifier associated with the cited user
is to be modified in the rights database. This qualifier only
applies when you modify the UIC or user name in the UAF record. By
default, the associated identifiers are modified.
/PASSWORD
/PASSWORD=(password1[,password2])
/NOPASSWORD
Specifies up to two passwords for login. Passwords can be from
0 to 32 characters in length, and can include alphanumeric
characters, dollar signs, and underscores.
To set only the first password, specify /PASSWORD=password. To set
both the first and second password, specify /PASSWORD=(password1,
password2). To change the first password without affecting the
second, specify /PASSWORD=(password, ""). To change the second
password without affecting the first, specify /PASSWORD=("",
password). To set both passwords to null, specify /NOPASSWORD.
By default, the ADD command assigns a password of 'USER'. When
creating a new UAF record with the COPY or RENAME command, you
must specify a password.
Examples
1. UAF> RENAME HAWKES KRAMERDOVE/PASSWORD=MARANNKRA
%UAF-I-PRACREN, proxies to HAWKES renamed
%UAF-I-RENMSG, user record renamed
%UAF-I-RDBMDFYMSG, identifier HAWKES modified
The command in this example changes the name of the account
Hawkes to Kramerdove, modifies the user name identifier for the
account, and renames all proxies to the account.
/IDENTIFIER
Renames an identifier in the rights database.
Format
RENAME/IDENTIFIER current-id-name new-id-name
Additional information available:
Parameters
current-id-name Specifies the name of an identifier to be renamed. new-id-name Specifies the new name for the identifier.
Example
UAF> RENAME/IDENTIFIER Q1SALES Q2SALES
%UAF-I-RDBMDFYMSG, identifier Q1SALES modified
The command in this example renames the identifier Q1SALES to
Q2SALES.