Leonard Chvilicek

Using IPMITool to Script iDRAC Configuration

Blog Post created by Leonard Chvilicek Employee on Mar 1, 2017

When doing several changes at a time on several systems you can use the IPMITool to execute commands from a file allowing you to script some of the iDRAC configurations.  In my case I was wanting to change the username and password on the iDRACs of several systems.


Listed below are some examples:


Rename Root User, Set New Password and Clear the SEL


      ipmitool exec <command_file>



[root@APPLIANCE14 ~]# ipmitool exec idracconfiguration.txt


Contents of the 'idracconfiguration.txt'

ipmitool user set name 2 bueno

ipmitool user set password 2 BuenoIsG00d

ipmitool user set name 2 enable

ipmitool user list

ipmitool sel clear


The above text file shows renaming the 'root' user, changing the password, listing the user to verify the change, and clearing the System Event Log.  You could also do this with network settings as well.