Create a file named reset_admin_pw.xml with the below info and add the new password in the password section:
<ribcl VERSION=”2.0″> <login USER_LOGIN=”Administrator” PASSWORD=”YOUR-NEW-PASSWORD“> <user_INFO MODE=”write”> <mod_USER USER_LOGIN=”Administrator”> <password value=”newpass”/> </mod_USER> </user_INFO> </login> </ribcl>
Commit the Updated administrator password information from the file (reset_admin_pw.xml) to ILO using the below command
./hponcfg -f reset_admin_pw.xml
That’s it you should be able to login to ILO of your ESXi host using the password specified in the above xml file. I hope this is informative for you. Thanks for Reading !!!!
Source: http://www.vmwarearena.com/2013/11/how-to-configure-hp-ilo-from-esxi-host.html