User Management
Use the following command-line instructions to manage users for your BMC.
Number |
Function |
Command |
---|---|---|
1 | List all users |
|
2 | User creation |
|
3 | Set user password |
NOTE: Root account locks after four consecutive failed attempts and automatically unlocks after 10 minutes. |
4 | Enable user |
|
5 | Disable user |
|
6 | Set user privilege |
Example:
|
7 | Enable remote IPMI command functionality for user |
|
8 | Lanplus commands to execute IPMI commands remotely for users with admin permissions |
|
10 | Delete user |
|
The BMC factory reset helps to reset the BMC login password. If you do a factory reset, you reset all previous user-level configurations, and reload the default configurations.
Use one of the following methods to do a factory reset:
Use the the BMC web user interface.
Go to Operations -> Factory reset -> Reset BMC and server settings.
Use the BMC console.
root@mgx-3809:~# ipmitool raw 0x32 0x66
Use Redfish.
export bmc=<BMC IP> export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username" : "root", "password" : "<BMC Password>"}' | grep token | awk '{print $2;}' | tr -d '"'` curl -k -H "X-Auth-Token:$token"https://${bmc}/redfish/v1/Managers/IGX_BMC_0/Actions/Manager.ResetToDefaults -d '{"ResetToDefaultsType": "ResetAll"}' -X POST