summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2019-03-27 18:00:09 +0100
committerStefan Metzmacher <metze@samba.org>2019-04-18 12:09:33 +0000
commit27b61082aa1363c8a5f9f11ad9bb117cd7a20de7 (patch)
tree25a527a5a92339876b8eccae060dc13c1de9db7c /bootstrap
parent3b431486c4784f2f37f9292255fd2e965af253f0 (diff)
downloadsamba-27b61082aa1363c8a5f9f11ad9bb117cd7a20de7.tar.gz
bootstrap/config.py: Create the 'samba' group in containers
Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/config.py b/bootstrap/config.py
index 2d5c366b39b..e10da1bc1ce 100644
--- a/bootstrap/config.py
+++ b/bootstrap/config.py
@@ -286,7 +286,7 @@ RUN /tmp/bootstrap.sh && /tmp/locale.sh
RUN set -x; LD=$(which ld); LD_GOLD=$(which ld.gold); test -x $LD_GOLD && ln -sf $LD_GOLD $LD && test -x $LD && echo "$LD is now $LD_GOLD"
# make test can not work with root, so we have to create a new user
-RUN useradd -m -s /bin/bash samba && \
+RUN useradd -m -U -s /bin/bash samba && \
mkdir -p /etc/sudoers.d && \
echo "samba ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/samba