From 870c4083d4f717a52d93107895a08855f6450add Mon Sep 17 00:00:00 2001 From: wfurt Date: Fri, 9 Jul 2021 16:51:11 -0700 Subject: [PATCH] make ping suid so helix user can run it --- src/fedora/32/helix/amd64/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fedora/32/helix/amd64/Dockerfile b/src/fedora/32/helix/amd64/Dockerfile index a2ef8ec42..c1bc20e7c 100644 --- a/src/fedora/32/helix/amd64/Dockerfile +++ b/src/fedora/32/helix/amd64/Dockerfile @@ -31,7 +31,8 @@ ENV LANG=en-US.UTF-8 # Fedora does not have all options as other Linux systems RUN /usr/sbin/adduser --uid 1000 --shell /bin/bash --group adm helixbot && \ chmod 755 /root && \ - echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers + echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers && \ + chmod +s /usr/bin/ping USER helixbot