- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: Add / update custom local admin password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2013 05:02 AM
12-23-2013 05:02 AM
Add / update custom local admin password
We have several HP BladeSystem c7000 Enclosures with mostly BL460c G5/G6/G7G8 Blades. iLo ranges from v2 to v4. What is the easiest way to do the following tasks without having to SSH into each enclosure and run the commands one at a time? Is there a way to do this centrally and automatically iterate through an entire list of enclosure IPs?
1) Add a local admin (other than Administrator) on all of the Blades if it does not currently exist, log success/failure.
2) Update the the local admin (not the pre-defined Administrator account) password on all of the Blades, log success/failure.
I've looked into using the "HPONCFG all << end_marker......" commands but you still have to SSH into each box and the logging is rather clunky - you have to do a lot of digging to make sure the command executed with success or failed. Any guidance with this would be greatly appreciated.
- Tags:
- Password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 07:36 AM
02-04-2014 07:36 AM
Re: Add / update custom local admin password
If you use a simple FOR loop, a txt file with the hostnames/IPs of the Enclosures and PLINK (CLI/batch version of putty) you can do this on a bunch of machines at once.
As for QA/success, the easiest way to check is to then go back after you run the above and try to USE the new credentials to grab some piece of information about the Blade/iLO. If that information comes back, the username and password must have been set properly. The Desktop version of HPONCFG is called CPQLOCFG and requires credentials to connect remotely, so ts likely the easiest tool to test your new credentials. The other option would be PLINK again direct to each iLO with a different script that dumps basic identifiable information about the machine.