Previous Topic: PAINT Command Function KeysNext Topic: Specifying a Password for a Single User ID


PASSWORD Command

Use the PASSWORD command to replace passwords in a user’s directory entry.

PASSWORD userid [newpass] [(LOGON]

Definitions

userid

Is the user ID whose passwords you want CA VM:Director 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.

[newpass]

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.

[?]

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.

[LOGON]

Replaces only the logon password in the directory entry for userid.

[TERM]

Prompts for a password directly from a terminal, bypassing the program stack, with the console input being masked.

Description

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.

Minidisk passwords must contain printing characters only; they cannot contain blanks or left or right parentheses.

Password changes made with this command are not processed by the PASSWORD or MINIDISK 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.

Examples
Changing Passwords for Many User IDs

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.

vmdirect 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 vmdirect password

CA VM:Director responds:

VMDIRECT PASSWORD FIN1 PASSWORD CHANGES FOR ‘FIN1’ COMPLETE VMDIRECT PASSWORD FIN2 PASSWORD CHANGES FOR ‘FIN2’ COMPLETE