Skip to content

Commit

Permalink
Merge pull request #224 from Secure-Compliance-Solutions-LLC/feature/…
Browse files Browse the repository at this point in the history
…password-reset-192

Hotfix for Password reset  #192 #217
  • Loading branch information
austinsonger authored Jul 9, 2021
2 parents c66044c + 68a35d8 commit 74161ce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74161ce

Please sign in to comment.