Setting the SNMPv3 User Encryption Password (snmpprivacypassword)
Function
The snmpprivacypassword command is used to set the data encryption password for a user who uses SNMPv3 to connect to the iBMC.
Format
ipmcset -t user -d snmpprivacypassword -v username
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Specifies the existed user whose password is 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 (not required from iBMC V3.01.12.01).
- If weak password check is enabled, the password cannot be the same as the passwords contain 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
# Set the password for the SNMPv3 user.
iBMC:/->ipmcset -t user -d snmpprivacypassword -v Administrator
Input your password:
Password:
Confirm password:
Set snmp privacy password successfully.