@@ -2,11 +2,11 @@ Securing Starter Deployments
22============================
33
44The 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 _ ,
66as this tool creates new database directories and configuration files that are
77separate 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
1010the _ root_ user will be created with an _ empty_ password.
1111
1212In 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:
1717In 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
2121arangosh --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
2626where "mypwd" is the new password you want to set.
2727
2828If your _Starter_ deployment has authentication turned off, it is suggested to
2929turn 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