account generateRandomly 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 Example
dcecp> account generate john_hunter
|