[{"data":1,"prerenderedAt":152},["ShallowReactive",2],{"$f14o6aykmy5gxx":3},{"title":4,"date":5,"tags":6,"categories":10,"_id":11,"slug":12,"path":13,"document":14,"excerpt":150,"readingTimeMinutes":151},"Reset IPMI Credentials from the Host OS","2021-12-27T00:00:00.000Z",[7,8,9],"homelab","supermicro","truenas",[7],"content:blog:reset-ipmi-password-from-host-os","reset-ipmi-password-from-host-os","\u002Fblog\u002Freset-ipmi-password-from-host-os",{"frontmatter":15,"meta":16,"nodes":17},{},{},[18,22,26,39,46,49,79,90,99,102,105,108,117],[19,20,21],"p",{},"If you ever find yourself locked out of the Intelligent Platform Management Interface (IPMI) of a server, these\ninstructions will guide your through the process of resetting the credentials to their default values from the host\noperating system.",[23,24,25],null,{},"more",[19,27,28,29,33,34,38],{},"If you are using an operating system like TrueNAS -- good news! It's possible to reset the IPMI password directly from\nthe web interface. This is done by navigating to ",[30,31,32],"code",{},"Network > IPMI",", and simply entering a new value in the ",[35,36,37],"em",{},"IPMI\nPassword Reset"," field.",[19,40,41,42,45],{},"If you are using some other OS that doesn't have this feature, you can achieve similar results by using the ",[30,43,44],{},"ipmitool","\ncommand-line utility.",[19,47,48],{},"First, you'll want to determine the user ID associated with the user for whom you'd like to reset the password.",[50,51,53],"pre",{"class":52},"shiki shiki-themes tokyo-night dark:tokyo-night",[30,54,55,63,64,63,69,63,74],{},[56,57,60],"span",{"class":58,"style":59},"line","display: inline",[56,61,62],{},"# ipmitool user list","\n",[56,65,66],{"class":58,"style":59},[56,67,68],{},"ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit",[56,70,71],{"class":58,"style":59},[56,72,73],{},"1                    true    false      false      Unknown (0x00)",[56,75,76],{"class":58,"style":59},[56,77,78],{},"2   ADMIN            true    false      false      Unknown (0x00)",[19,80,81,82,85,86,89],{},"In this case, we will be resetting the password for ",[35,83,84],{},"ADMIN"," who has a user ID of ",[35,87,88],{},"2",". Then we'll assign the new\npassword like so:",[50,91,92],{"class":52},[30,93,94],{},[56,95,96],{"class":58,"style":59},[56,97,98],{},"# ipmitool user set password 2 \u003Cpassword>",[19,100,101],{},"And you should be good to go!",[19,103,104],{},"...",[19,106,107],{},"Alternatively, if you'd like to factory reset the baseboard management controller (BMC), which will reset the IPMI\ncredentials to their default value, you can issue the following command.",[50,109,110],{"class":52},[30,111,112],{},[56,113,114],{"class":58,"style":59},[56,115,116],{},"# ipmitool raw 0x3c 0x40",[19,118,119,120,123,124,127,128,123,131,134,135,140,141,144,145,149],{},"Where ",[30,121,122],{},"0x3c"," is the ",[30,125,126],{},"\u003Cnetfn>"," argument, a.k.a. the network function code that defines the functional routing for\nmessages, and ",[30,129,130],{},"0x40",[30,132,133],{},"\u003Ccmd>",". According to section 5.1 of the ",[136,137,139],"a",{"href":138},"https:\u002F\u002Fwww.intel.com\u002Fcontent\u002Fdam\u002Fwww\u002Fpublic\u002Fus\u002Fen\u002Fdocuments\u002Fproduct-briefs\u002Fipmi-second-gen-interface-spec-v2-rev1-1.pdf","IPMI interface\nspecification",",\n",[35,142,143],{},"netfn"," codes ranging from 0x30 to 0x3F are reserved for vendor specific functions. I searched around for some\nSupermicro references on these vendor specific network functions without much luck other than various ",[136,146,148],{"href":147},"https:\u002F\u002Fwww.supermicro.com\u002Fsupport\u002Ffaqs\u002Ffaq.cfm?faq=15448","support\nresponses"," on how to reset a device. Bummer!","If you ever find yourself locked out of the Intelligent Platform Management Interface (IPMI) of a server, these instructions will guide your through the process of resetting the credentials to their default values from the host operating system.",2,1790648870573]