add versions, removed sudo, powerusers group,

This commit is contained in:
edgd1er 2022-05-02 20:39:21 +02:00
parent 90b4af2627
commit 17bc78f534
No known key found for this signature in database
GPG key ID: F7B8E0D6C867CCAE
6 changed files with 16 additions and 22 deletions

View file

@ -26,9 +26,7 @@ bash \
tzdata \
netcat-openbsd \
&& pip3 install --no-cache-dir -r /home/py-kms/requirements.txt \
&& addgroup power_users \
&& adduser -S py-kms -G users -s /bin/bash \
&& usermod -aG power_users py-kms \
&& chown py-kms:users /home/py-kms \
# Fix undefined timezone, in case the user did not mount the /etc/localtime
&& ln -sf /usr/share/zoneinfo/UTC /etc/localtime