From 7590d035139a2f6ce5eba6ea94ad16a9a045e5fa Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 9 Dec 2021 22:01:55 +0200 Subject: [PATCH] data --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index f595160..5fe8029 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -157,7 +157,7 @@ if [ -d "$Wdir/project" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ - && addgroup -S docker && adduser -S docker -G docker \ + && adduser -D -g '' docker \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \ @@ -233,7 +233,7 @@ if [ "$Wdir" == "$HOME" ]; then COPY ssh/ \${SSHDIR}/ RUN export DEBIAN_FRONTEND=noninteractive \ - && addgroup -S docker && adduser -S docker -G docker \ + && adduser -D -g '' docker \ && rm -rf /usr/share/doc \ && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \