- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- curl to set ilo user's minimum password length NO...
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
05-26-2021 04:06 AM
05-26-2021 04:06 AM
I am trying to change the ilo user's minimum password length by running this curl command:
# curl -s -H "Content-Type: application/json" -X POST --data '{"Oem": { "Hpe": {"MinPasswordLength": "11"} }}' https://<iloHostname>/redfish/v1/accountservice/ -u <ilousername>:<ilopasswd> --insecure
But i gotten this instead:
{"error":{"code":"iLO.0.10.ExtendedInfo","message":"See @Message.ExtendedInfo for more information.","@Message.ExtendedInfo":[{"MessageArgs":["Action"],"MessageId":"Base.1.4.PropertyMissing"}]}}
1) what curl command parameters do i use to view the message extended info to see the detailed error message?
2) How do i set the ilo user's minimum password length using the curl command?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2021 11:48 PM
05-26-2021 11:48 PM
Re: curl to set ilo user's minimum password length NOT working
any one knows? Or is it because of a bug in ilo 2.3x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2021 12:27 AM
05-27-2021 12:27 AM
SolutionFound out that i should use PATCH instead of POST.
But i would still like to know:
1) what curl command parameters do i use to view the message extended info to see the detailed error message?
so that i would know how to better troubleshoot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2021 10:25 PM
05-30-2021 10:25 PM
Re: curl to set ilo user's minimum password length NOT working
Hello,
I would suggest follow the below documents.
HPE Integrated Lights-Out 4 (iLO 4) - Extracting the Active Health System Log by Using curl
https://support.hpe.com/hpesc/public/docDisplay?docId=c05327966&docLocale=en_US
HPE Integrated Lights Out (iLO 4) - Managing User Accounts
https://support.hpe.com/hpesc/public/docDisplay?docId=a00045108en_us&docLocale=en_US
HPE Integrated Lights-Out (iLO 4) - Setting Up iLO
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00020272en_us
HPE Integrated Lights Out (iLO 4) - Document List
https://support.hpe.com/hpesc/public/docDisplay?docId=a00043732en_us&docLocale=en_US
If you feel this was helpful please click the KUDOS! thumb below!
Regards,
I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]