docs: useradd issue
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 11.3k
- Forks
- 488
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 11
Description
What happened?
I'm currently working through https://frankenphp.dev/docs/docker/#running-with-no-capabilities and see the line useradd -D ${USER}; mentioned several times.
Following through the example:
docker run -it --rm dunglas/frankenphp bash
export USER=www-data
useradd -D ${USER}
just prints the commands help.
-D for useradd is print or change default useradd configuration.
-D for adduser is Don't assign a password
From my understanding the intention is to add a user www-data without a password on debian? That would be useradd without specifying -p. But even then
cat /etc/passwd | grep www-data
show the user already exists, so can it be omitted because it serves nothing?
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
The one installed in the docker image dunglas/frankenphp
Relevant log output
No response
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.
Research direction
Start at the linked Docker documentation section on running with no capabilities and verify the shown useradd command in the FrankenPHP Debian image. Compare the command's behavior with the existing www-data entry, then update the example so the instructions accurately reflect the required user setup and confirm the rendered documentation no longer shows misleading guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, docker, shell
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100