HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
50 CLI commands for common administrative tasks
modify password
Description Use this command to change a user’s password. This command is not supported after connecting to
a disk array, within a batch file, or with the -f option. In addition, ranges are not supported.
Users can change their own passwords. However, only a user belonging to the Administrators group
can modify other users’ passwords. (Administrators are not required to enter the old password when
changing the password.)
Only the default user in the Administrator group can change their own password.
Passwords must have at least six alphanumeric characters, and cannot have more than 32
characters. Also, the password cannot contain spaces or any of the following special characters: @
# & = + \ , ; : * ? < > | / “
Syntax Administrator syntax:
modify password <username>, <new_password>, <confirm_password>
Administrator syntax to modify the administrator's password:
modify password <username>, <old_password>, <new_password>,
<confirm_password>
User syntax:
modify password <username>, <old_password>, <new_password>,
<confirm_password>
Arguments <username>
The name of the user.
<old_password>
The user’s old password. This is required for users to change their own password, but not
necessary for administrators.
<new_password>
The user’s new password. The new password cannot be the same as the old password.
<confirm_password>
The user’s new password again for verification purposes.
Example Administrator example:
modify password natasha,456xyz,456xyz
User example:
modify password natasha,123abc,456xyz,456xyz