PreviousNext

account generate

Randomly generates a password for a named principal. The syntax is:

account generate principal_name

To run the account generate command, the pwd_strength server must be running, the principal named in principal_name must exist, and the pwd_mgmt_binding and pwd_val_type Extended Registry Attributes must be attached to that principal. Otherwise, an error is generated. The command returns a randomly generated password on success. See OSF DCE Administration Guide for more information about the pwd_strength server.

After the password is generated, run the account create command to establish the account. Supply the randomly generated password as the account's password (using the -password option).

Privileges Required
You must have the gmau permissions for the principal named in the account.

Example

dcecp> account generate john_hunter
dcecp>