diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index ddf7741..86e62c5 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 -m -s /bin/bash -N -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 -m -s /bin/bash -N -u ${USER1_ID} ${USER1} \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \