10. Reset lost root password

This section describes how to reset a forgotten or lost BMC root password.

10.1. BMC command line

If the BMC’s root password has been lost, physical access to the IPU-Machine is required to reset it. You need to use a USB cable to connect the management port of the IPU-Machine to the management server. You can then reset the password by rebooting the machine and interrupting U-Boot through the serial console, using for example minicom. Once in U-Boot, append rescue_bmc to bootargs, and then boot.

_images/ipum_rear.png

Fig. 10.1 IPU-Machine rear side showing the location of the management port, indicated by “Mgt”

ast# setenv bootargs console=ttyS4,115200n8 root=/dev/ram rw rescue_bmc
ast# boot

This should automatically log in the root user on the serial console. You can now change the root user’s password by using the passwd command.