mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-19 01:37:24 +00:00
do not give root a random password if login is already disabled by default
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
@@ -11,12 +11,7 @@ RUN set -ex; \
|
||||
ca-certificates \
|
||||
netcat-openbsd \
|
||||
tzdata \
|
||||
bash \
|
||||
openssl; \
|
||||
# Give root a random password
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
apk del --no-cache \
|
||||
openssl; \
|
||||
bash; \
|
||||
delgroup www-data; \
|
||||
addgroup -g 33 -S www-data; \
|
||||
adduser -u 33 -S -D -G www-data -H -s /sbin/nologin www-data;
|
||||
|
||||
Reference in New Issue
Block a user