diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-05 04:48:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 04:48:21 -0400 |
commit | 22c51da0ccd5accbf50161dc8762f6adce4dc3f6 (patch) | |
tree | fde613483666f270aa5e80c0fc5da15f3504ddd2 | |
parent | f1703abea1987b096e0269622e2ad72d1304e878 (diff) | |
parent | 7c59f1d077f8bc3a141845331977ba2ec869b12d (diff) | |
download | podman-22c51da0ccd5accbf50161dc8762f6adce4dc3f6.tar.gz podman-22c51da0ccd5accbf50161dc8762f6adce4dc3f6.tar.bz2 podman-22c51da0ccd5accbf50161dc8762f6adce4dc3f6.zip |
Merge pull request #14122 from dcermak/patch-1
Fix usermod call in rootless_tutorial.md
-rw-r--r-- | docs/tutorials/rootless_tutorial.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/rootless_tutorial.md b/docs/tutorials/rootless_tutorial.md index 5d20f2cc0..57f819d6d 100644 --- a/docs/tutorials/rootless_tutorial.md +++ b/docs/tutorials/rootless_tutorial.md @@ -81,10 +81,10 @@ If you update either `/etc/subuid` or `/etc/subgid`, you need to stop all the ru Rather than updating the files directly, the `usermod` program can be used to assign UIDs and GIDs to a user. ``` -usermod --add-subuids 200000-201000 --add-subgids 200000-201000 johndoe +usermod --add-subuids 100000-165535 --add-subgids 100000-165535 johndoe grep johndoe /etc/subuid /etc/subgid -/etc/subuid:johndoe:200000:1001 -/etc/subgid:johndoe:200000:1001 +/etc/subuid:johndoe:100000:65536 +/etc/subgid:johndoe:100000:65536 ``` ### Enable unprivileged `ping` |