containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
24.03k stars 2.43k forks source link

Ambiguity Within "/etc/passwd" And "/etc/group" Tooling #20002

Open p0da opened 1 year ago

p0da commented 1 year ago

Feature request description

Currently --group-entry and --passwd-entry function differently in relation to the --user flag, contrary to the documentation. Namely while the --userns flag enables --passwd-entry to function as expected, it does not enable --group-entry to function at all, with only --user seemingly enabling --group-entry to work.

This is only made more confusing by the existence of the --passwd flag whose function seems to disable appending to both /etc/passwd and /etc/group but is documentated as if it were a prequiste to the --*-entry flags.

Suggest potential solution

Removal of all prerequisites on --*-entry flags enabling them to work all conditions; the user should be expected to understand the implications of these flags and the adverse effects to their containers if they use them incorrectly.

Clarifying documentation of --passwd flag

Have you considered any alternatives?

N/A

Additional context

N/A

github-actions[bot] commented 1 year ago

A friendly reminder that this issue had no activity for 30 days.