Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Quote passwords when creating an admin user #436

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/22.4/container/admin-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ generated password, the following command can be used:
caption: Updating password of administrator user
---
docker compose -f $DOWNLOAD_DIR/docker-compose.yml -p greenbone-community-edition \
exec -u gvmd gvmd gvmd --user=admin --new-password=<password>
exec -u gvmd gvmd gvmd --user=admin --new-password='<password>'
```

```{note}
Please be aware if your password includes special characters like `$` it needs
to be quoted in single quotes.
```
7 changes: 6 additions & 1 deletion src/22.4/source-build/admin-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ password, the following command can be used:
```{code-block}
:caption: Creating an administrator user with provided password

/usr/local/sbin/gvmd --create-user=admin --password=<password>
/usr/local/sbin/gvmd --create-user=admin --password='<password>'
```

```{note}
Please be aware if your password includes special characters like `$` it needs
to be quoted in single quotes.
```

If the output doesn't show
Expand Down
1 change: 1 addition & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Calendar Versioning](https://calver.org).

## Latest
* Add instructions to enable SSL/TLS
* Quote passwords when creating an admin user via `gvmd`

## 23.11.0
* Add workflow page for source builds
Expand Down