IPMI configure BMC user settings

 

IPMI configure BMC user settings

This document introduces 5 ipmi commands for setting user. These commands require root privileges to use. -H is the BMC ip that needs to be operated, -I lanplus is the command sent using the rmcp+ protocol, -U is the user name for the operation command, -P is the user password.

1. Query all users

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user list

ID  Name             Callin  Link Auth   IPMI Msg   Channel Priv Limit

1                    true    true       true       NO ACCESS

2   root             true    true       true       ADMINISTRATOR

3                    true    true       true       NO ACCESS

4                    true    true       true       NO ACCESS

5                    true    true       true       NO ACCESS

 

2. The user name and user id of the newly added user cannot be the same as the user id of the existing user name. The length of the user name is not greater than 15, and the user id cannot be greater than 17. For example, the user name is abc, and the user id is 3.

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user set name 3 abc

 

3. The length of the user password is 8-20, and it cannot be the same as the user name, nor can the user name be reversed. The password must meet the complexity requirements (at least one special character, at least one of the three types of uppercase letters, lowercase letters, and numbers). Choose 2), such as setting the password of user id 3

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user set password 3 Huawei12#$

 

4. Permission value range 2: USER, 3: OPERATOR, 4: ADMINISTRATOR, the default permission after user creation is NO ACCESS, no access permission. For example, if the user id is set to 3, the user name and password can be used to access the BMC after the setting is completed.

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user priv 3 3

5. Enable the user whose id is 3

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user enabled 3

IPMI configure BMC user settings

This document introduces 5 ipmi commands for setting user. These commands require root privileges to use. -H is the BMC ip that needs to be operated, -I lanplus is the command sent using the rmcp+ protocol, -U is the user name for the operation command, -P is the user password.

1. Query all users

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user list

ID  Name             Callin  Link Auth   IPMI Msg   Channel Priv Limit

1                    true    true       true       NO ACCESS

2   root             true    true       true       ADMINISTRATOR

3                    true    true       true       NO ACCESS

4                    true    true       true       NO ACCESS

5                    true    true       true       NO ACCESS

 

2. The user name and user id of the newly added user cannot be the same as the user id of the existing user name. The length of the user name is not greater than 15, and the user id cannot be greater than 17. For example, the user name is abc, and the user id is 3.

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user set name 3 abc

 

3. The length of the user password is 8-20, and it cannot be the same as the user name, nor can the user name be reversed. The password must meet the complexity requirements (at least one special character, at least one of the three types of uppercase letters, lowercase letters, and numbers). Choose 2), such as setting the password of user id 3

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user set password 3 Huawei12#$

 

4. Permission value range 2: USER, 3: OPERATOR, 4: ADMINISTRATOR, the default permission after user creation is NO ACCESS, no access permission. For example, if the user id is set to 3, the user name and password can be used to access the BMC after the setting is completed.

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user priv 3 3

5. Enable the user whose id is 3

ipmitool -H 10.10.1.115 -I lanplus -U root -P Huawei12#$ user enabled 3

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325343389&siteId=291194637