summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-01 09:10:55 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-01 09:13:39 -0400
commit996fe49aa727c184c315a9e20e5d4529052ca9fc (patch)
tree8d0eb73ecdeb0fe50b64871f75447032b8a4a1ec /docs/tutorials
parent556117c2e95bb0e4da7d36e10d94c3ec0ac4072f (diff)
downloadpodman-996fe49aa727c184c315a9e20e5d4529052ca9fc.tar.gz
podman-996fe49aa727c184c315a9e20e5d4529052ca9fc.tar.bz2
podman-996fe49aa727c184c315a9e20e5d4529052ca9fc.zip
Update rootless_tutorial.md
add clarifications in persistently setting unprivileged ping permissions Signed-off-by: fuzxi <opuspam@posteo.de> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/rootless_tutorial.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/rootless_tutorial.md b/docs/tutorials/rootless_tutorial.md
index 6b83f18d9..3b9cbd2d0 100644
--- a/docs/tutorials/rootless_tutorial.md
+++ b/docs/tutorials/rootless_tutorial.md
@@ -95,7 +95,7 @@ If this is required, the administrator must verify that the UID of the user is p
To change its value the administrator can use a call similar to: `sysctl -w "net.ipv4.ping_group_range=0 2000000"`.
-To make the change persistent, the administrator will need to add a file in `/etc/sysctl.d` that contains `net.ipv4.ping_group_range=0 $MAX_UID`.
+To make the change persist, the administrator will need to add a file with the `.conf` file extension in `/etc/sysctl.d` that contains `net.ipv4.ping_group_range=0 $MAX_GID`, where `$MAX_GID` is the highest assignable GID of the user running the container.
## User Actions