AUTHORIZE RENAME — MicroVMS 4.6
This command will change the username for a record in the user authorization
file, SYSUAF.DAT. The only parameter qualifier allowed for the RENAME
command is the /PASSWORD qualifier.
Format:
RENAME old-username new-username [/PASSWORD=password]
Additional information available:
/IDENTIFIER
Renames an identifier in the rights database.
Format
RENAME/IDENTIFIER old-id-name new-id-name
Additional information available:
Parameters
old-id-name Specifies the name of an identifier to be renamed. new-id-name Specifies the new identifier name.
Example
UAF> RENAME/IDENTIFIER Q1SALES Q2SALES
identifier Q1SALES renamed
The command in this example renames the identifier Q1SALES to
Q2SALES.
Parameters
old-username new-username "old-username" is the username for the authorization record which is to be renamed. "new-username" is the new username for the record.
Qualifiers
Additional information available:
/GENERATE/MODIFY_IDENTIFIER/PASSWORD
/GENERATE
/GENERATE /GENERATE=CURRENT /GENERATE=PRIMARY /GENERATE=SECONDARY /GENERATE=BOTH /GENERATE=ALL Generate a random password. The formats of the passwords is the same as for the DCL SET PASSWORD /GENERATE command.
/MODIFY_IDENTIFIER
/[NO]MODIFY_IDENTIFIER Controls whether the identifier corresponding to the specified username in the rights database is modified. The default is /MODIFY_IDENTIFIER.
/PASSWORD
/PASSWORD=(password [,password2])
/NOPASSWORD
Password(s) for login. Must be from 0 to 31 characters in length, and
must be composed of alphanumeric characters, dollar signs, and underscores.
To set the first password with no second password, specify
/PASSWORD=password
To set both passwords, specify
/PASSWORD=(password, password2)
To set only the first password leaving the second alone, specify
/PASSWORD=(password, "")
To set only the second password leaving the first alone, specify
/PASSWORD=("", password2)
To clear the second password leaving the first alone, specify
/PASSWORD=""
To clear both passwords, specify
/NOPASSWORD
It is important to specify new passwords for a renamed record. Since
the user name is taken as part of the input for password verification,
the old password with the new user name will not yield the same result
as the original password and user name, and the verification will fail.