grpck accepts a group named -x

Open Beginner friendly
#384 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start at the grpck command implementation and read its existing tests for group-name validation. Reproduce the case with a group named -x, then add a regression test; done means grpck rejects it with exit code 2, matching the upstream behavior cited in the issue.

Written by the indexing model from the issue text.

Description

grpck accepts a group named -x, where upstream exits 2.

Reference: Ubuntu 26.04 passwd 1:4.17.4-2ubuntu3. shadow-rs: main at 92ac29b.

Dominant language
Rust
Stars
18
Forks
10
Avg merge
1d 15m
Merged PRs (30d)
37

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/shadow

All issues in uutils/shadow

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.