Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for roles and/or new privileges gen10/ilo5 #268

Open
JasperAlgra opened this issue Mar 2, 2022 · 1 comment
Open

Support for roles and/or new privileges gen10/ilo5 #268

JasperAlgra opened this issue Mar 2, 2022 · 1 comment

Comments

@JasperAlgra
Copy link

Hi,

On some new Gen10 servers (ILO5) I found "new features" (for me) such as decommission or web-based intelligent provisioning (which is really great). But.. It doesn't work for my user added with hpilo_cli because there are privileges missing.

I'm adding like this:

./hpilo_cli iloXYZ.mgmt.kantoor.eztrack.nl mod_user user_login=jasper user_name=jasper admin_priv=true virtual_media_priv=true remote_cons_priv=true reset_server_priv=true config_ilo_priv=true

This gives a user like this:
afbeelding

Note the missing privileges for:

  • Host bios
  • Host NIC
  • Host Storage
  • Recovery set

I tried adding the privs I found in https://github.com/HewlettPackard/ilo-rest-api-docs/blob/master/source/includes/_ilo5_accountservice.md#roles-and-privileges
such as "HostBIOSConfigPriv" -> host_bios_config_priv but I think these are all "hardcoded" in python-hpilo, right?

Could this be supported?

Another way would be to support to use roles. I'm not sure if roles are actually a user property or just a copy of set of privs from another user.
"In iLO 5 1.40 and later, you can use RoleId to create users with specific starting privileges."

Please let me know I can help in any way.

@seveas
Copy link
Owner

seveas commented Sep 8, 2022

These can be supported if someone contributes the changes for it. I don't have access to gen10 servers at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants