Skip to content

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

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.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions