HP iLO 3 Scripting and Command Line Guide

execute RIBCL commands. The user privileges are verified against the required privilege for a
particular command, and an error is returned if the privilege level does not match.
For example:
<LOGIN USER_LOGIN="username" PASSWORD="password">
</LOGIN>
Alternatively, the HPQLOCFG utility allows you to specify the login information as parameters on
the command line using switches:
hpqlocfg -u username -p password
LOGIN parameters
USER_LOGIN is the login name of the user account. This parameter is case sensitive and must not
be blank.
PASSWORD is the password associated with the user. This parameter is case sensitive and can
be a combination of any printable characters.
LOGIN runtime errors
Possible runtime error messages include:
User login name was not found.
Password must not be blank.
Logged-in user does not have required privilege for this command.
USER_INFO
The USER_INFO command can only appear within a LOGIN command block. When the command
is parsed, it reads the local user information database into memory and prepares to edit it. Only
commands that are USER_INFO type commands are valid inside the USER_INFO command block.
The USER_INFO command generates a response that indicates to the host application whether the
database was successfully read or not. If the database is open for writing by another application,
then this call fails.
USER_INFO requires the MODE parameter with a value of read or write. MODE is a specific string
parameter with a maximum length of 10 characters that specifies what you intend to do with the
information.
Write mode enables both reading and writing of iLO information. Read mode prevents modification
of the iLO information.
For example:
<USER_INFO MODE="write">
……… USER_INFO commands ……
</USER_INFO>
ADD_USER
The ADD_USER command is used to add a local user account. The USER_NAME and USER_LOGIN
parameters must not exist in the current user database. Use the MOD_USER command to change
existing user information. For this command to parse correctly, the command must appear within
a USER_INFO command block, and USER_INFO MODE must be set to write. The user must have
the Administer User Accounts privilege.
All of the attributes that pertain to the user are set using the following parameters:
<RIBCL VERSION="2.0">
64 RIBCL XML Scripting Language