Add newgrp command (run command in different group)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- cli, operating-systems, security
Research direction
Start by locating the repository's existing command implementations and any Windows token-handling entry points. Read the behavior of /bin/newgrp and the referenced SetTokenInformation call with TokenPrimaryGroup, then verify that the command runs a supplied command under the selected group. The issue names no tests, so completion should include suitable coverage for the new command's behavior.
Written by the indexing model from the issue text.
Description
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, ...)
- Dominant language
- Rust
- Stars
- 5.2k
- Forks
- 107
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/coreutils
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
sleep has 9MB Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
grep not work Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
All issues in microsoft/coreutils
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
VirusTotal/yara-x#777 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100