Skip to content

Commit

Permalink
Merge pull request #475 from wfurt/fedoraPing
Browse files Browse the repository at this point in the history
make ping suid so helix user can run it
  • Loading branch information
wfurt authored Jul 10, 2021
2 parents 12277e0 + 870c408 commit 6532e80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fedora/32/helix/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6532e80

Please sign in to comment.