Is your feature request related to a problem? Please describe.
Hy, i wanted to see the group membership of local group adminstrators for security reasons.
OCSInventory should be able to compare if the logged in user is an administrator!
or the group membership should be displayed and the membership should be searchable in ocs-inventory.
Describe the solution you'd like
Some user have adminrights -- bit i really don't know exactly which domain user is an local administrator
Describe alternatives you've considered
i wrote a script which export all group members from group "administrators" to an smb share .. this script will be executed on every computer. so a have all the group memberships after a while.
But this is not very comfortable .. because i don't see the group membership on ocs-inventory-ng.
I wrote another script which will be executed on any computer .. this script identifies current logged in user .. and compares the logged in user with the local administrator group .. if the user is in this group .. i exit with a special exit code .. if not .. i exit with another code.
So i can search for this error code in ocs-inventory to get all domain users with admin rights.
Is your feature request related to a problem? Please describe. Hy, i wanted to see the group membership of local group adminstrators for security reasons. OCSInventory should be able to compare if the logged in user is an administrator! or the group membership should be displayed and the membership should be searchable in ocs-inventory.
Describe the solution you'd like Some user have adminrights -- bit i really don't know exactly which domain user is an local administrator
Describe alternatives you've considered i wrote a script which export all group members from group "administrators" to an smb share .. this script will be executed on every computer. so a have all the group memberships after a while. But this is not very comfortable .. because i don't see the group membership on ocs-inventory-ng. I wrote another script which will be executed on any computer .. this script identifies current logged in user .. and compares the logged in user with the local administrator group .. if the user is in this group .. i exit with a special exit code .. if not .. i exit with another code. So i can search for this error code in ocs-inventory to get all domain users with admin rights.