Steps to reset an ilo password on Linux using hponcfg.

Today in this article, we will see how to reset an ilo password from Linux using hponcfg.

Let us have a look at the steps below.

1. Create an XML script containing the username and password.

2. Load the XML file in HPONCFG (HP Lights-Out Online Configuration utility)

===============================================================================

I. Creating XML Script

On a Linux server’s terminal, create an XML script with the entry below.

Replace the bold words according to your needs.

The interesting part is you don’t even need to know the current iLO password.

# vi pwreset.xml

<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Administrator" PASSWORD="anytext">
<USER_INFO MODE="write">
<MOD_USER USER_LOGIN="Administrator">
<PASSWORD VALUE="newpassword"/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>

 

II. Load this script from the server.

# hponcfg -f pwreset.xml -l log.txt

HP Lights-Out Online Configuration utility
Version 4.1.0 Date 1/3/2013 © Hewlett-Packard Company, 2013
Firmware Revision = 2.25 Device type = iLO 2 Driver name = hpilo
Script succeeded

The status log will be sent to a file log.txt.

If you encountered below error, it means your hponcfg version needs to be updated.

 [root@phltest01 ~]# hponcfg -f pwreset.xml -l log.txt

HP Lights-Out Online Configuration utility
Version 4.0.0 Date 12/08/2011 © Hewlett-Packard Company, 2011
Error opening libcpqci.so:  libcpqci.so: cannot open shared object file: No such file or directory
Firmware Revision = 1.87 Device type = iLO 3 Driver name = hpilo
Script succeeded 

But the good thing is the password reset still works.

Above example is tested on a BL460C G7 server with RHEL 6.8 OS, hponcfg version 4.0.0.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments