Use the PASSWORD command to replace passwords in a user’s directory entry.
Note: For the CA VM:Director version of this command, see the next heading.
PASSWORD userid [RESET | NORESET] [newpass | ?] [("Options"]
Options:
[BYONLY] [LOGON] [TERM]
Note: Options can be entered in any order.
Is the user ID whose password(s) you want to change. If you specify userid without any other parameters, the command generates separate random read, write, and multiple passwords for all minidisks that have link passwords owned by that user ID, and a new random logon password.
The randomly generated passwords are of the form cvccvc, where c is a consonant and v is a vowel.
If you specify userid without any other parameters, the command generates a random logon password only. No minidisk password will be changed.
Updates the flag special comment (*FL=), forcing the user to change his logon password at next logon (RESET), or causes password status to be set to indicate the password is valid, not new, not expired and does not need reset when the user logs on in the user’s directory entry (NORESET).
RESET is valid only if the Rules Facility is implemented. With NORESET, the user is not prompted to specify a new password at next logon.
Is the new password to replace the existing password in the directory entry for userid. The password can be one to eight characters long and cannot include spaces.
If you do not specify a new password, the command generates a random password.
Password phrases cannot be assigned by using this parameter.
Reads a password string from the stack. If the stack is empty, the issuer is prompted for the password value with the console input being masked.
Password phrases can be assigned by using this parameter.
Inserts a *NB=Y special comment in the user’s directory entry, making the user ID accessible only with the LOGONBY Facility or the CP LOGON BY command. The user’s password is still changed when this option is used.
Note: If you specify BYONLY for a user ID, be sure to specify BYONLY every time you subsequently use the PASSWORD command with that user ID. If you do not, CA VM:Secure removes the *NB= comment.
Replaces only the logon password in the directory entry for userid. The LOGON option is assumed if a password phrase is specified in response to a prompt.
Prompts for a password directly from a terminal, bypassing the program stack, with the console input being masked.
Password phrases can be assigned by using this option.
The PASSWORD command changes the logon password or all passwords for a specific user ID. It can do so with specified or randomly generated passwords, or it can force users to specify their own new passwords.
Minidisk passwords are changed only if they have link passwords.
Minidisk passwords are not changed if you are configured for password phrases, and a password phrase is entered in response to a prompt. Entering a password phrase results in the LOGON option being assumed.
Traditional passwords must contain printing characters only; they cannot contain blanks, left, or right parentheses.
Password phrases can contain blanks and any characters that can be typed on the keyboard.
Password changes made with this command are not processed by the PASSWORD or MDSK user exit, if defined.
Minidisk passwords of ALL are unaffected by the PASSWORD command.
Whenever a password is changed, a record indicating the user ID whose password was changed, the type of password change, and the new password is appended to the file PASSWORD CHANGES A0. This file is written to your A‑disk. A read/write A‑disk is required.
To change all the passwords for each user ID that begins with FIN, issue the following commands. In this example, the user ID issuing the commands has NOPASS PASSWORD authorization.
vmsecure query user fin* (manager * exec copyfile cms exec a (spec
CMS responds:
ENTER SPECIFICATION LIST:
Enter:
1‑15 1
At the Ready prompt, enter:
cms vmsecure password
CA VM:Secure responds:
VMSECURE PASSWORD FIN1 PASSWORD CHANGES FOR ‘FIN1’ COMPLETE VMSECURE PASSWORD FIN2 PASSWORD CHANGES FOR ‘FIN2’ COMPLETE
|
Copyright © 2014 CA.
All rights reserved.
|
|