Reset IPMI password

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

This article describes how to reset the password of an IPMI module. Please note that on Supermicro systems, the maximum password length is effectively 19 characters when setting a new password (The array length is 20 characters and the string is NULL-terminated, leaving 19 characters available). [1]

Resetting the password using the impicfg tool on Supermicro systems

The IPMI password can be reset by restoring the IPMI to its factory defaults. Please note that with many IPMI versions, particularly older ones, the network settings are also reset! Therefore, it is recommended to note or save the network settings before the reset. All steps, that are required, can be performed with the command line tool ipmicfg. This tool is available for Windows as well as for Linux operating systems.

In the following, the recommended process is explained:

Step 1: Reading out the current network configuration

root@(none):~# ipmicfg -m
IP=10.10.10.183 MAC=00:25:90:19:78:5A
root@(none):~# ipmicfg -k
Net Mask=255.255.255.0
root@(none):~# ipmicfg -g
IP=10.10.10.1

Step 2: Reset to factory defaults

root@(none):~# ipmicfg -fd
Reset to the factory default completed!

Step 3: Verify network settings and adjust as needed

root@(none):~# ipmicfg -m
IP=10.10.10.183 MAC=00:25:90:19:78:5A
root@(none):~# ipmicfg -k
Net Mask=255.255.255.0
root@(none):~# ipmicfg -g
IP=10.10.10.1

If these network settings are not correct anymore, the settings must be reset to the original values.

root@(none):~# ipmicfg -m 10.10.10.183
IP=10.10.10.183
root@(none):~# ipmicfg -k 255.255.255.0
Net Mask=255.255.255.0
root@(none):~# ipmicfg -g 10.10.10.1
Gateway IP=10.10.10.1

Default IPMI password

Hint: Since the end of 2019, Supermicro creates an individual password per IPMI interface for X10- and X11-mainboards. Please follow the instructions on the stickers on the mainboards or system.

User: ADMIN

Password: ADMIN

Download link for ipmicfg

Resetting password using ipmitool on a Linux server

The IPMI password can be changed by using ipmitool user set password <userid>. Here is the general syntax for ipmitool user:

[root@sr2500 ~]# ipmitool user 
User Commands: summary [<channel number>]
                   list    [<channel number>]
                   set name     <user id> <username>
                   set password <user id> [<password>]
                   disable      <user id>
                   enable       <user id>
                   priv         <user id> <privilege level> [<channel number>]
                   test         <user id> <16|20> [<password]>

[root@sr2500 ~]# 

In the article Configuring IPMI under Linux using ipmitool, there is an example for the SR2500 server.

Resetting the whole module using the DOS-tool for Supermicro IPMI modules

Content of Readme.txt

Please boot from a bootable floppy disk then run A:\>defaultp.exe (bzw. erasedat20.exe)

Attention! IPNMAC must then be executed, as the IPMI module is reset to factory defaults! 

Download link


References


Translator: Alina Ranzinger

Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.


Related articles

Deactivate IPMI NONE Authentication Type
FreeIPMI ipmimonitoring versions
IPMI Power Supply Sensor