How to reset ILO Password using CentOS
:: Firstly you need to access server using root login credentials, then first you have to check the system is up to date or not.
# yum install update
:: After successfully installing of update check using below command HP ILO linux package install in system or not.
# rpm -qf /sbin/hponcfg
:: As required packages are not installed in the system, then need to install required packages.
:: HP official website for package installation :
https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_640d4499d8c64ee79f546d439f#tab3
Note : Kindly read the below point before installing the rpm package and execute the installation work.
:: If you install the wrong package and execute the further command, it’s may lead to ILO service interruption .
:: As I have to install a package on linux version 7 then I downloaded the package from the website below.
https://repology.org/project/hponcfg/information
:: Download the latest version of ILO linux hponcfg rpm package
:: We have downloaded the latest version of hponcfg rpm on the server using below command.
# rpm -Uvh https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/hponcfg-5.6.0-0.x86_64.rpm
:: Check hponcfg latest version install or not using below command
# rpm -qf /sbin/hponcfg
hponcfg-5.6.0-0.x86_64
:: Now move to cd /var/tmp & use below command to executable file
[root@localhost tmp]# vi passwd_reset_ilo.xml
[root@localhost tmp]# cat passwd_reset_ilo.xml
<ribcl version="2.0">
<login user_login="Administrator" password="boguspassword">
<user_info mode="write">
<mod_user user_login="Administrator">
<password value="Micro@321%$#">
</password>
</mod_user>
</user_info>
</login>
</RIBCL>
:: Now we all are set to reset the ILO password using below command.
[root@localhost tmp]# hponcfg -f passwd_reset_ilo.xml -l log.txt
:: Our Script is successful, now we are able to use new ILO password to access the server web interface.
Thank You...