Friday, July 28, 2017

How to reset the ILOM root password back to the default ‘changeme’ using ipmitool


How to reset the ILOM root password back to the default ‘changeme’ using ipmitool

If the root password on the ILOM is currently unknown,  you can change the ILOM password back to the default “changeme”.


# /usr/sbin/ipmitool user set password 0x02 changeme

you can also use the raw format:

# /usr/sbin/ipmitool raw 0x06 0x47 0x02 0x02 0x63 0x68 0x61 0x6e 0x67 0x65 0x6d 0x65 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Later you can change as per your org  standard

-> set /SP/users/root password
Enter new password: ********
Enter new password again: ********
try login with your new root password

Regards
Gurudatta N.R

4 comments:

  1. Hi Guru,

    Customer came back asking what is the value of 0x02 in the above command

    # /usr/sbin/ipmitool user set password 0x02 changeme

    ReplyDelete
    Replies
    1. Guru, I am srihari from Oracle

      Delete
    2. Morning Sri,


      As per my knowledge the string (0x02) used to set the default password/any password you want to set.

      root@sukhoi-c:~# /usr/sbin/ipmitool user set password 0x02 welcome1
      root@folcon-c:~# /usr/sbin/ipmitool user set password 0x02 gurudatta


      Regards
      Gurudatta N.R

      Delete
  2. ox02 is the channel number. Since in this above command you are not specifying use id and it is taking default ID root:

    server-01#ipmitool channel info 0x02
    Channel 0x2 info:
    Channel Medium Type : Serial/Modem
    Channel Protocol Type : IPMB-1.0
    Session Support : single-session
    Active Session Count : 0
    Protocol Vendor ID : 7154


    server-01#

    [root@server01 ~]# ipmitool user list 0x02
    ID Name Enabled Callin Link Auth IPMI Msg Channel Priv Limit
    1 true false false true USER
    2 root true false false true ADMINISTRATOR
    12 default true true false true NO ACCESS

    ReplyDelete