From 68a35d8b5b777b27de8fee60b6acaad0f7913bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Fri, 9 Jul 2021 19:34:29 +0200 Subject: [PATCH] Hotfix for Password reset #192 #217 --- scripts/start.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 85c24b4b..c099de17 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -250,12 +250,6 @@ if [ ! -f "/var/lib/gvm/.created_gvm_user" ]; then touch /var/lib/gvm/.created_gvm_user fi -if [ "$PASSWORD_FILE" != "none" ] && [ -e "$PASSWORD_FILE" ]; then - su -c "gvmd --user=\"$USERNAME\" --new-password=\"$(<"$PASSWORD_FILE")\"" gvm -else - su -c "gvmd --user=\"$USERNAME\" --new-password=\"$PASSWORD\"" gvm -fi - echo "Starting Greenbone Security Assistant..." if [ "${HTTPS}" == "true" ]; then ${SUPVISD} start gsad-https