Changing the User Password (password)
Function
The password command is used to change the user password.
Format
ipmcset [-t user] -d password -v username
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Specifies the user whose password needs to be changed. |
- |
Usage Guidelines
Administrators can change the password of any user. Operators and common users can only change their own passwords. The password of the current user is required.
The password setting rules vary depending on whether password complexity check and weak password check are enabled. To check whether password complexity check is enabled, run the Querying and Setting the Status of the Password Complexity Check Function (passwordcomplexity) command. To check whether weak password check is enabled, run the Setting Weak Password Check State (weakpwddic) command.
- If password complexity check is disabled, the password cannot be empty or exceed 20 characters. If the password contains less than eight characters, the user cannot use the SNMPv3 interface.
- If password complexity check is enabled, the password must meet the following requirements:
- Contain 8 to 20 characters
- Contain at least a space or one of the following special characters:
`~!@#$%^&*()-_=+\|[{}];:'",<.>/?
- Contain at least two types of the following characters:
- Uppercase letters A to Z
- Lowercase letters a to z
- Digits 0 to 9
- Cannot be the same as the user name or the user name in reverse order.
- Have at least two new characters when compared with the previous password.
- If weak password check is enabled, the password cannot be the same as the passwords contained in the weak password dictionary. (You can run the Exporting the Weak Password Dictionary (weakpwddic -v export) command to export the weak passwords from the weak password dictionary.)
The default password Admin@9000 is in the weak password dictionary.
Example
# Change the password of user.
iBMC:/->ipmcset -d password -v user Input your password: New password: Confirm password: Set user password successfully.