Merge pull request #37 from thelamer/master

remove root login to disable passwordless su from abc
This commit is contained in:
aptalca 2019-05-11 00:41:42 -04:00 committed by GitHub
commit fde6551a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -31,7 +31,8 @@ RUN \
mkdir /root-out && \
tar xf \
/rootfs.tar.xz -C \
/root-out
/root-out && \
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
# Runtime stage
FROM scratch

View file

@ -31,7 +31,8 @@ RUN \
mkdir /root-out && \
tar xf \
/rootfs.tar.xz -C \
/root-out
/root-out && \
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
# Runtime stage
FROM scratch

View file

@ -31,7 +31,8 @@ RUN \
mkdir /root-out && \
tar xf \
/rootfs.tar.xz -C \
/root-out
/root-out && \
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
# Runtime stage
FROM scratch