Skip to content

Commit 9bf30f8

Browse files
Add details about the initial password (#1792) (#1797)
1 parent 5447f92 commit 9bf30f8

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

modules/ROOT/pages/installation/linux/systemd.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ For instructions on how to set the number of concurrent files that a user can ha
1818
Configuration is stored in _/etc/neo4j/neo4j.conf_.
1919
See xref:configuration/file-locations.adoc[Default file locations] for a complete catalog of where files are found for the various packages.
2020

21+
Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
22+
23+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
24+
In that case, you will be prompted to change the default password at first login.
25+
26+
For more information, see xref:configuration/set-initial-password.adoc[].
27+
2128
[[linux-service-control]]
2229
== Controlling the service
2330

modules/ROOT/pages/installation/linux/tarball.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,16 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
5656
** Run `<NEO4J_HOME>/bin/neo4j-admin server license --accept-evaluation`.
5757
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
5858
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
59+
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
60+
+
61+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
62+
In that case, you will be prompted to change the default password at first login. +
63+
For more information, see xref:configuration/set-initial-password.adoc[].
5964
. Start Neo4j:
6065
* To run Neo4j as a console application, use: `<NEO4J_HOME>/bin/neo4j console`.
6166
* To run Neo4j in a background process, use: `<NEO4J_HOME>/bin/neo4j start`.
6267
. Open http://localhost:7474 in your web browser.
63-
. Connect using the username `neo4j` with the default password `neo4j`.
68+
. Connect using the username `neo4j` with your password or the default password `neo4j`.
6469
You will then be prompted to change the password.
6570
. Stop the server by typing `Ctrl-C` in the console.
6671

@@ -99,6 +104,12 @@ WantedBy=multi-user.target
99104
systemctl enable neo4j
100105
----
101106

107+
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
108+
+
109+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
110+
In that case, you will be prompted to change the default password at first login. +
111+
For more information, see xref:configuration/set-initial-password.adoc[].
112+
102113
. Start Neo4j:
103114
+
104115
[source, shell]

modules/ROOT/pages/installation/osx.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,19 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
3333
** Run `$NEO4J_HOME/bin/neo4j-admin server license --accept-evaluation`.
3434
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
3535
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
36+
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
37+
+
38+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
39+
In that case, you will be prompted to change the default password at first login. +
40+
For more information, see xref:configuration/set-initial-password.adoc[].
3641
. Start Neo4j:
3742
* To run Neo4j as a console application, use: `$NEO4J_HOME/bin/neo4j console`.
3843
* To run Neo4j in a background process, use: `$NEO4J_HOME/bin/neo4j start`.
3944
. Open http://localhost:7474 in your web browser.
40-
. Connect using the username `neo4j` with the default password `neo4j`.
45+
. Connect using the username `neo4j` with your password or the default password `neo4j`.
4146
You will then be prompted to change the password.
4247
. Stop the server by typing `Ctrl-C` in the console.
4348

44-
45-
4649
When Neo4j runs in console mode, logs are printed to the terminal.
4750

4851

modules/ROOT/pages/installation/windows.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,17 @@ See the link:https://neo4j.com/terms/licensing/[Neo4j licensing] page for detail
3232
** Run `$NEO4J_HOME\bin\neo4j-admin server license --accept-evaluation`.
3333
. (Optional) Decouple the data and configuration directories from the binary files by setting the environment variable `NEO4J_CONF` and `server.directories.data` to point to the desired locations.
3434
Storing your data and configuration on a separate disk or partition can simplify the upgrade process later.
35+
. Before starting up the database for the first time, it is recommended to use the `set-initial-password` command of `neo4j-admin` to define the password for the native user `neo4j`.
36+
+
37+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
38+
In that case, you will be prompted to change the default password at first login. +
39+
For more information, see xref:configuration/set-initial-password.adoc[].
3540
. Start Neo4j:
3641
* To run Neo4j as a console application, use: `$NEO4J_HOME\bin\neo4j console`.
3742
* To install Neo4j as a service use: `$NEO4J_HOME\bin\neo4j windows-service install`.
3843
For additional commands and to learn about the Windows PowerShell module included in the Zip file, see xref:installation/windows.adoc#powershell[Windows PowerShell module].
3944
. Open http://localhost:7474 in your web browser.
40-
. Connect using the username `neo4j` with the default password `neo4j`.
45+
. Connect using the username `neo4j` with your password or the default password `neo4j`.
4146
You will then be prompted to change the password.
4247
. Stop the server by typing `Ctrl-C` in the console.
4348

0 commit comments

Comments
 (0)