SET USER PASSWORD

Enter this command to set a user’s password. If you do not specify a user, any input after the command is used as the password for the user that executed the command.

Command syntax

set user password [<user name>] {<new password>}

Access privilege

All users can modify their own passwords, and Administrators can modify all passwords.

Restrictions

Passwords must conform to the following standards:

  • The maximum password length is 39 characters.

  • Passwords can include any characters except for spaces.

  • The default minimum password length is 8 characters. Modify this with the set password minimum command.

  • A blank password is only allowed when the minimum password length is set to 0 (zero). To set a blank password (or clear an existing password), include the user name as an argument, and add empty quotes ("") as an argument. For example:

    hpiLO-> set user password testuser ""

    [WARNING! ]

    WARNING! Hewlett Packard Enterprise recommends setting non-blank passwords for all users.


Output

Command output example

hpiLO-> set user password testuser testpass

User: “testuser” password set.