Reset IPMI Credentials from the Host OS
If you ever find yourself locked out of the Intelligent Platform Management Interface (IPMI) of a server, these instructions will guide your through the process of resetting the credentials to their default values from the host operating system.
If you are using an operating system like TrueNAS -- good news! It's possible to reset the IPMI password directly from
the web interface. This is done by navigating to Network > IPMI
, and simply entering a new value in the IPMI
Password Reset field.
If you are using some other OS that doesn't have this feature, you can achieve similar results by using the ipmitool
command-line utility.
First, you'll want to determine the user ID associated with the user for whom you'd like to reset the password.
# ipmitool user list
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 true false false Unknown (0x00)
2 ADMIN true false false Unknown (0x00)
In this case, we will be resetting the password for ADMIN who has a user ID of 2. Then we'll assign the new password like so:
# ipmitool user set password 2 <password>
And you should be good to go!
...
Alternatively, if you'd like to factory reset the baseboard management controller (BMC), which will reset the IPMI credentials to their default value, you can issue the following command.
# ipmitool raw 0x3c 0x40
Where 0x3c
is the <netfn>
argument, a.k.a. the network function code that defines the functional routing for
messages, and 0x40
is the <cmd>
. According to section 5.1 of the IPMI interface
specification,
netfn codes ranging from 0x30 to 0x3F are reserved for vendor specific functions. I searched around for some
Supermicro references on these vendor specific network functions without much luck other than various support
responses on how to reset a device. Bummer!