From a1a52d3f89e2cd023764bfd150bac5c1d8299c6b Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 13 Dec 2024 10:45:43 +0100 Subject: [PATCH] set random password --- rootfs/app/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/app/entrypoint.sh b/rootfs/app/entrypoint.sh index 8618ef7..607d1de 100755 --- a/rootfs/app/entrypoint.sh +++ b/rootfs/app/entrypoint.sh @@ -3,7 +3,8 @@ WEBROOT=/www PHP=${PHP:-none} USERNAME=${USERNAME:-theuser} -adduser -DH -h "${WEBROOT}" -G "nginx" -u "1000" "${USERNAME}" +RANDOMPWD=$(tr -dc A-Za-z0-9