How to Reset OpenBMC Password
This article explains how to reset the MiTAC R1520G6, R2520G6, and G4520G6 OpenBMC password using ipmitool, covering both remote reset (for when you still have network access to the OpenBMC) and local reset (for when the OpenBMC password is unknown or lost).
Overview
There are two scenarios for resetting the BMC password:
- Remote reset — You still have valid OpenBMC credentials and network access. Use
ipmitoolover LAN to trigger a password reset remotely. - Local reset — The OpenBMC password is unknown or missing. You must run
ipmitooldirectly on the local host (in-band) to reset without credentials.
Note: After either reset, the OpenBMC will restart automatically. You will need to use the OpenBMC default password to log in after the restart.
Prerequisites
| Item | Requirement |
|---|---|
| Tool | ipmitool installed |
| Remote reset | Network access to OpenBMC IP + valid credentials |
| Local reset | Physical or console access to the server OS |
Scenario 1: Remote Reset
Use this method when you still have valid OpenBMC credentials and network access.
Command
ipmitool -I lanplus -H {BMC_IP} -U {BMC_username} -P {BMC_password} -C 17 raw 0x30 0x2 0x43 0x4c 0x52 0xbb
ipmitool -I lanplus -H {BMC_IP} -U {BMC_username} -P {BMC_password} -C 17 raw 0x06 0x32
Replace {BMC_IP}, {BMC_username}, and {BMC_password} with the actual values.
Example
ipmitool -I lanplus -H 192.168.1.100 -U admin -P current_password -C 17 raw 0x30 0x2 0x43 0x4c 0x52 0xbb
ipmitool -I lanplus -H 192.168.1.100 -U admin -P current_password -C 17 raw 0x06 0x32
Result
The OpenBMC will restart automatically. After the restart, log in using the OpenBMC default password.
Scenario 2: Local Reset (Password Missing)
Use this method when the OpenBMC password is unknown or missing and remote access is unavailable.
Command
Run the following command directly on the server (in-band, no IP or credentials required):
ipmitool -C 17 raw 0x30 0x2 0x43 0x4c 0x52 0xbb
ipmitool -C 17 raw 0x06 0x32
Result
The OpenBMC will restart automatically. After the restart, log in using the OpenBMC default password.
After Reset
Once the OpenBMC restarts, log in with the factory default credentials. The default username and password are printed on the server’s service label or documented in the platform’s hardware guide.
It is recommended to change the BMC password immediately after logging in with the default credentials.