HP MSA 2040 CLI Reference Guide

172
set password
Description Sets a user’s password for system interfaces (such as the CLI). A password can be entered as part of
the command, or the command prompts you to enter and re-enter the new password.
Syntax
set password
[password
password
]
[
user
]
Parameters password
password
Optional. Sets a new password for the user. The value is case sensitive and must contain 8–32
characters. A password cannot contain the following characters: angle brackets, backslash, comma,
double quote, single quote, or space. If the password contains only printable ASCII characters then it
must contain at least one uppercase character, one lowercase character, and one non-alphabetic
character. If this parameter is omitted, the command prompts you to enter and re-enter a value,
which is displayed obscured for security reasons. For an SNMPv3 user whose
authentication-type parameter is set to use authentication, this specifies the authentication
password.
user
Optional. The user name for which to set the password. If this parameter is omitted, this command
affects the logged-in user’s password.
Example Change the password for the default user, manage:
# set password manage
Enter new password: ********
Re-enter new password: ********
Success: Command completed successfully. (manage) - The password was changed.
(2011-10-11 14:48:03)
Change the password for user JDoe:
# set password JDoe password Abcd%123
Success: Command completed successfully. (JDoe) - The password was changed.
(2013-11-14 12:08:10)
See also show users