Skip to content

Add newgrp command (run command in different group) #94

@mlwege

Description

@mlwege

Add /bin/newgrp command. That command allows to run a new command in a different group.

Windows has this capability, as demonstrated by SFU, Cygwin, MSYS2.

This can easily be implemented by taking a sid of a group from the thread token, and set it via SetTokenInformation(tok, TokenPrimaryGroup, ...)

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