On the test, I change the iLO password to the standard Administrator user on the HP ProLiant DL380 G7 server, the password is generated randomly from the manufacturer and installed in the BIOS, it can also be seen on the pull-out ribbon and attached to the server.
Therefore, in order not to restart the server to change the password, create a file with the name reset_password.xml for example and add content to it:
<RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="Administrator" PASSWORD="password"> <USER_INFO MODE="write"> <MOD_USER USER_LOGIN="Administrator"> <PASSWORD value="password specify here only"/> </MOD_USER> </USER_INFO> </LOGIN> </RIBCL>
Where Administrator, this is the user name, password – do not touch, there can be any text, but only indicate the desired password to the user in the PASSWORD value.
We export the file:
sudo hponcfg -f reset_password.xml
In case of an error, you can output the report to the log.txt file with the command:
sudo hponcfg -f reset_password.xml -l log.txt
Configuring iLO through hponcfg