chainguard-dev / chainguard-dev/dfc
useradd -l being copied over, but not needed for Busybox
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 103
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
The useradd -l (--no-log-init) argument is being passed through to the converted adduser command but Busybox does not support it. In fact, as far as I can tell, Busybox does not do any lastlog or faillog logging so it's not needed.
Maybe we should remove but add a comment about it's removal?
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Locate the Dockerfile conversion logic that translates useradd arguments into the BusyBox adduser command, then check whether related tests cover the -l option. The work is done when -l is no longer passed to BusyBox and the behavior is documented in a comment or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100