From 6443ec55bdaaca619f4a7daea32cc727f61bf1db Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 15 May 2021 01:15:00 +0300 Subject: [PATCH] add jupyter --- 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 40aa9b3..466f463 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -134,7 +134,7 @@ if [ -d "$Wdir/project" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ - && useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ + && useradd -s /bin/bash -U -u \${USER1_ID} \${USER1} \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \ @@ -212,7 +212,7 @@ if [ "$Wdir" == "$HOME" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ - && useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ + && useradd -s /bin/bash -U -u \${USER1_ID} \${USER1} \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \