Skip to content

Instantly share code, notes, and snippets.

@booyaa
Created November 19, 2012 14:38
Show Gist options
  • Select an option

  • Save booyaa/4110981 to your computer and use it in GitHub Desktop.

Select an option

Save booyaa/4110981 to your computer and use it in GitHub Desktop.
RIBCL Example for changing ILO password for a given login
<!-- RIBCL Sample Script for Integrated Lights-Out -->
<!-- Copyright (c) 2003 Hewlett-Packard Development Company, L.P. -->
<!-- Description: This is a sample XML script to modify an existing -->
<!-- user's login id, display name, password and/or -->
<!-- privileges in the database of local users on an -->
<!-- iLO device. -->
<!-- NOTE: You will need to replace the values inside the quote -->
<!-- marks with values that are appropriate for your -->
<!-- environment. -->
<!-- Use CPQLOCFG.EXE ver 2.10 or greater with this script -->
<!-- This script was written for iLO firmware ver 1.20, other -->
<!-- versions of firmware may use different syntax/privileges -->
<!-- See the iLO User Guide for more information on scripting -->
<!-- and the syntax of the RIBCL XML. -->
<!-- cpqlocfg -s SERVERNAME -f Change_ILO_Password.xml -->
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="Localadmin" PASSWORD="OLD-PASSWORD">
<USER_INFO MODE="write">
<MOD_USER USER_LOGIN="toor">
<!-- Specify new password-->
<PASSWORD value="NEW-PASSWORD"/>
</MOD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment