setuid on su and ping binaries

This commit is contained in:
Joe Groocock 2018-05-27 12:54:26 +01:00
parent 674e22a672
commit dfe1423c2e
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -121,7 +121,8 @@ COPY --from=builder /output/ /
# Add default skeleton configuration files # Add default skeleton configuration files
COPY skel/ / COPY skel/ /
RUN chmod 1777 /tmp && \ RUN chmod 1777 /tmp && \
chmod 775 /usr/bin/* chmod 775 /usr/bin/* && \
chmod u+s /usr/bin/ping /usr/bin/su
ENV ENV="/etc/profile" ENV ENV="/etc/profile"
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin