diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index b558452..dfa7e8f 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -153,7 +153,7 @@ if [ -d "$Wdir/project" ]; then COPY ssh/ \${SSHDIR}/ RUN export DEBIAN_FRONTEND=noninteractive \ - && useradd -ms /bin/bash docker \ + && addgroup -S docker && adduser -S docker -G docker \ && rm -rf /usr/share/doc \ && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ @@ -235,7 +235,7 @@ if [ "$Wdir" == "$HOME" ]; then && rm -rf /usr/share/doc \ && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ - && useradd -ms /bin/bash docker \ + && addgroup -S docker && adduser -S docker -G docker \ && mkdir -p /var/run/sshd \ && echo 'root:pass' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \