Commit 6dd57fc1 authored by garciay's avatar garciay
Browse files

Add --groups sudo username option to useradd etsi

parent 32aba41f
Loading
Loading
Loading
Loading
+2 −1
Changes for docker/Dockerfile: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ RUN echo "docker-titan-STF525" > /etc/hostname \
      libxml2-dev \
      lsof \
      ntp \
      openssh-server \
      pkg-config \
      qt5-default \
      qtmultimedia5-dev \
@@ -64,7 +65,7 @@ RUN echo "docker-titan-STF525" > /etc/hostname \
      xsltproc \
    && DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -y \
    && DEBIAN_FRONTEND=noninteractive apt-get autoclean \
    && useradd --create-home --shell /bin/bash etsi \
    && useradd --create-home --shell /bin/bash etsi --groups sudo username \
    && echo "etsi:etsi" | chpasswd \
    && adduser etsi sudo \
    && cd /home/etsi \