Skip to content

RFE: Add environment variables for the calling user's group name, GID, and supplementary group names/IDs #524

@Melab

Description

@Melab

$SUDO_UID contains the UID of the process that called sudo , $SUDO_GID contains the GID, and $SUDO_USER contains the username. To fully complement these, sudo should also set environment variables containing:

  • The group name corresponding to the GID that a process calls sudo with.
  • The supplementary GIDs of the calling process.
  • The group names corresponding to the supplementary GIDs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions