HP StoreOnce Backup System CLI Reference Guide
accounts modify
Description of Command Function
Modifies an existing account.
Command Syntax
accounts modify [ACCOUNT] [newpassword <password> <password>] [level
{admin|user}]
Command Authority
Administrator and Operator
Command Object Requirements
ACCOUNT – This object is the name of an existing account.
Command Parameter Requirements
• newpassword – This parameter specifies the new password for the account. The length of
password must be greater than 0 and lesser than or equal to 24 characters. It may contain
only uppercase or lowercase alpha-numeric characters and the symbols !, @, #, $, %, ^, &,
an *. Note that the two password entries should match. For multi-node systems, all nodes
within the cluster must be powered on, operational, and accessible within the cluster network.
This parameter does not apply to external users or groups.
NOTE: Some passwords cannot be created and are rejected if they are based on common
words or known, insecure key patterns. Be sure to use valid passwords without using common
words or invalid patterns.
• level – This parameter may be modified to change the access level for the specified account.
Access level may only be modified by a user with administrator privileges. Access levels can
be changed for local users and external users, or groups.
Requirements for Command Execution
• The command entry must conform to command syntax.
• The account object in the command entry must be an existing account.
• A user with user permission may only change their own password.
• A user with admin permissions may change the password or level of any user or group.
• All nodes in a multi-node system must be powered on and accessible within the cluster network.
Successful Command Output
Upon successful completion of the command, the following is displayed:
account ACCOUNT modified, where ACCOUNT is the string labeling the account to be
modified.
Command Operation during Abnormal Conditions
• If any of the command elements (accounts, modify) is misspelled, the error, Element:
command not found, is displayed.
• If the command does not conform to the required syntax, the following is displayed. SYNTAX
is the command syntax as described under Command Syntax in this section.
Command Failed - the command does not conform to the required syntax
• If the password does not meet the defined requirements, the following is displayed:
Command Failed - The password must be 1 character in length minimum
and 24 characters in length maximum and can only contain upper,
lower case letters, numbers and the following symbols ! @ # $ % ^
& *
accounts modify 23