What to do if the BMC password is forgotten

What to do if the BMC password is forgotten

What to do if the BMC password is forgotten

Prerequisites
Operations must be performed within the Linux
ipmitool must be installed

Option 1
Change the administrator password

Command
ipmitool user set password 2 <new_password>

Example
sudo ipmitool user set password 2 P@ssw0rd

Option 2
Restore BMC to factory defaults

Command
ipmitool raw 0x32 0x66

Example
sudo ipmitool raw 0x32 0x66