mirror of
https://github.com/containers/podman.git
synced 2025-06-01 17:17:47 +08:00
troubleshooting: fix useradd no-log-init argument
--log-no-init should be --no-log-init Signed-off-by: Simon Li <spli@dundee.ac.uk>
This commit is contained in:
@ -142,7 +142,7 @@ If you are using a useradd command within a Dockerfile with a large UID/GID, it
|
||||
|
||||
#### Solution
|
||||
|
||||
If the entry in the Dockerfile looked like: RUN useradd -u 99999000 -g users newuser then add the `--log-no-init` parameter to change it to: `RUN useradd --log-no-init -u 99999000 -g users newuser`. This option tells useradd to stop creating the lastlog file.
|
||||
If the entry in the Dockerfile looked like: RUN useradd -u 99999000 -g users newuser then add the `--no-log-init` parameter to change it to: `RUN useradd --no-log-init -u 99999000 -g users newuser`. This option tells useradd to stop creating the lastlog file.
|
||||
|
||||
### 7) Permission denied when running Podman commands
|
||||
|
||||
|
Reference in New Issue
Block a user