Skip to content

Research: privileges each vendor tool needs #21

Closed

Description

@somethingwithproof

Question

Can nvidia-smi, dcgmi, and amd-smi run as an unprivileged user for the plugin's queries? What do they need: device file access, group membership, a running nv-hostengine, or root for some fields?

Method

  • Run each query the plugin uses as an unprivileged user, as the snmpd user, and as the Cacti poller user; record failures.
  • Record which fields need root or a running host engine (DCGM documents superuser for profiling metrics).
  • Record behavior in containers and under SELinux or AppArmor profiles shipped by distributions.
  • Record whether the kernel log is readable by that user.

Exit criteria

  • Privilege table per tool, query, and user.
  • The least privilege each backend needs, written into the Security section.
  • A list of queries the plugin must not run because they need root.

References

Dependencies

Activity

  1. added
    type: researchA question answered with evidence before design depends on it
    priority: blockerStops its milestone until resolved
    area: nvidianvidia-smi and NVML behavior
    area: dcgmDCGM and dcgm-exporter behavior
    area: amdamd-smi and ROCm behavior
    area: securityTrust boundaries, privileges, and command execution
    on Nov 14, 2026
  2. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Answered by docs/research/privileges.md, added in PR #69.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: amdamd-smi and ROCm behaviorarea: dcgmDCGM and dcgm-exporter behaviorarea: nvidianvidia-smi and NVML behaviorarea: securityTrust boundaries, privileges, and command executionphase: 0 researchMilestone 1 researchpriority: blockerStops its milestone until resolvedtype: researchA question answered with evidence before design depends on it

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions