Skip to content

Commit d786337

Browse files
committed
Various fixes
1 parent 3d84828 commit d786337

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/Manual/Security/Starter/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Securing Starter Deployments
22
============================
33

44
The password that is set for the _root_ user during the installation of the ArangoDB
5-
package has no effect in case of deployments done with the tool _ArangoDB Stater_,
5+
package has no effect in case of deployments done with the tool _ArangoDB Starter_,
66
as this tool creates new database directories and configuration files that are
77
separate from those created by the stand-alone installation.
88

9-
Assuming you have enabled authentication in your _Starter_ deployment, by default
9+
Assuming you have enabled authentication in your _Starter_ deployment (using `--auth.jwt-secret=<secret-file>`), by default
1010
the _root_ user will be created with an _empty_ password.
1111

1212
In order to the change the password of the _root_ user, you can:
@@ -17,14 +17,18 @@ In order to the change the password of the _root_ user, you can:
1717
In case you would like to automate the _root_ password change, you might use the
1818
_--javascript.execute-string_ option of the _arangosh_ binary, e.g.:
1919

20-
```
20+
```bash
2121
arangosh --server.endpoint your-server-endpoint \
22-
--server.password ""
23-
--javascript.execute-string 'require("org/arangodb/users").update("root", "mypwd");
22+
--server.password ""
23+
--javascript.execute-string 'require("org/arangodb/users").update("root", "mypwd");
2424
```
2525
2626
where "mypwd" is the new password you want to set.
2727
2828
If your _Starter_ deployment has authentication turned off, it is suggested to
2929
turn it on using a _JWT secret_ file. For more information on this topic, please
30-
refer to the _Starter_ [Option](../Programs/Starter/Options.md#authentication-options) page.
30+
refer to the _Starter_ [Option](../Programs/Starter/Options.md#authentication-options) page.
31+
32+
Note that you cannot easily turn authentication on/off once your deployment
33+
has started for the first time. It is possible to stop all _Starters_ and then
34+
manually modify all the `arangod.conf` files in yor data directory, but this is not recommended.

0 commit comments

Comments
 (0)