setuid on su and ping binaries
This commit is contained in:
parent
674e22a672
commit
dfe1423c2e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user