-
Notifications
You must be signed in to change notification settings - Fork 21
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
vCenter: privileg check failed for user (missing permission Sessions.TerminateSession #341
Comments
Hi and thank you for your support. |
It's configured on the global permission. We don't miss any data, just want to get rid off the vcenter event-warning. |
can you share a screenshot of the warning please? |
Sorry for the confusion, i did't know "view" existed. We're using Role "read-only" forever. |
it looks like we are not the only one suffering from this issue: https://forum.xorux.com/discussion/1098/vmware-permission-errors |
Mhm, we're going to upgrade our vcenters later in april. I will respond here, if this error is eleminated by the update or not if you like. |
i'm discovering that i've already commented the code with this issue but impossible to remember why... |
Great, thanks. Actually this is for session listing so i'll add a permission check as a condition for that part |
yes the permission has been changed a long time ago |
@quinh feel free to test the fixed code i just comited. i'll close this issue now that the problem is fixed, thank you very much for your support! |
@rschitz - back from vacation and testing your fixes. sexigraf logfile says: but vCenter still says: |
Please try this version, for some weird reasons, checking permissions triggers the alert so i worked around this by getting the privileges from the role of the user. After modifying the ps1 file, please terminate the sexigraf user session because i also noticed that connecting with a previous token after changing the permission could also trigger the alert. |
Hi,
first things first: great product, easy to use, little efffort, big outcome 👍
Privilege check failed for user VSPHERE.LOCAL\sexigraf for missing permission Sessions.TerminateSession. Session user performing the check: VSPHERE.LOCAL\sexigraf
We configured only
viewread-only permissions for user sexigraf.The sessions object only have 4 permissions available
Any clue what's behind VMwares warning:
Sessions.TerminateSession
?The text was updated successfully, but these errors were encountered: