Skip to content

Commit bb4073f

Browse files
Add details about the initial password (#1800)
1 parent 5a43c2b commit bb4073f

File tree

4 files changed

+40
-9
lines changed

4 files changed

+40
-9
lines changed

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

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

18+
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`.
19+
20+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
21+
In that case, you will be prompted to change the default password at first login.
22+
23+
For more information, see xref:configuration/set-initial-password.adoc[].
24+
1825
[[linux-service-control]]
1926
== Controlling the service
2027

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,17 @@ chown -R neo4j:adm /opt/neo4j-enterprise-{neo4j-version-exact}
4242
----
4343
chown -R neo4j /opt/neo4j-enterprise-{neo4j-version-exact}
4444
----
45+
. 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`.
46+
+
47+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
48+
In that case, you will be prompted to change the default password at first login. +
49+
For more information, see xref:configuration/set-initial-password.adoc[].
4550
. Start Neo4j:
4651
.. To run Neo4j as a console application, use: `<NEO4J_HOME>/bin/neo4j console`.
4752
.. To run Neo4j in a background process, use: `<NEO4J_HOME>/bin/neo4j start`.
4853
. Open http://localhost:7474 in your web browser.
49-
. Connect using the username `neo4j` with the default password `neo4j`.
50-
You will then be prompted to change the password.
54+
. Connect using the username `neo4j` with your password or with the default password `neo4j`.
55+
In the latter case you will be prompted to change the password.
5156
. Stop the server by typing `Ctrl-C` in the console.
5257

5358

@@ -86,6 +91,11 @@ systemctl daemon-reload
8691
----
8792
systemctl enable neo4j
8893
----
94+
. 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`.
95+
+
96+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
97+
In that case, you will be prompted to change the default password at first login. +
98+
For more information, see xref:configuration/set-initial-password.adoc[].
8999
. Start Neo4j:
90100
+
91101
[source, shell]

modules/ROOT/pages/installation/osx.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ Select the appropriate tar.gz distribution for your platform.
1717
. Extract the contents of the archive, using `tar -xf` <filename>.
1818
For example, `tar -xf neo4j-community-{neo4j-version-exact}-unix.tar.gz`.
1919
. Place the extracted files in a permanent home on your server.
20-
The top level directory is referred to as NEO4J_HOME.
20+
The top level directory is referred to as `NEO4J_HOME`.
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+
For more information, see xref:configuration/set-initial-password.adoc[].
26+
. Start Neo4j:
2127
.. To run Neo4j as a console application, use: `<NEO4J_HOME>/bin/neo4j console`.
2228
.. To run Neo4j in a background process, use: `<NEO4J_HOME>/bin/neo4j start`.
2329
. Visit http://localhost:7474 in your web browser.
24-
. Connect using the username 'neo4j' with default password 'neo4j'.
25-
You'll then be prompted to change the password.
30+
. Connect using the username 'neo4j' with your password of with the default password 'neo4j'.
31+
In the latter case, you will be prompted to change the password.
2632
. Stop the server by typing `Ctrl-C` in the console.
2733

2834

modules/ROOT/pages/installation/windows.adoc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,21 @@ Select the appropriate ZIP distribution.
1414
.. To find the correct SHA hash, go to Neo4j Download Center and click on `SHA-256` which will be located below your downloaded file.
1515
.. Using the appropriate commands for your platform, display the `SHA-256` hash for the file that you downloaded.
1616
.. Ensure that the two are identical.
17-
. Right-click the downloaded file, click Extract All.
17+
. Right-click the downloaded file, click *Extract All*.
1818
. Place the extracted files in a permanent home on your server, for example `D:\neo4j\`.
19-
The top level directory is referred to as NEO4J_HOME.
19+
The top level directory is referred to as `NEO4J_HOME`.
20+
. 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`.
21+
+
22+
If the password is not set explicitly using this method, it will be set to the default password `neo4j`.
23+
In that case, you will be prompted to change the default password at first login. +
24+
For more information, see xref:configuration/set-initial-password.adoc[].
25+
. Start Neo4j:
2026
.. To run Neo4j as a console application, use: `<NEO4J_HOME>\bin\neo4j console`.
2127
.. To install Neo4j as a service use: `<NEO4J_HOME>\bin\neo4j install-service`.
2228
.. 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].
2329
. Visit http://localhost:7474 in your web browser.
24-
. Connect using the username 'neo4j' with default password 'neo4j'.
25-
You'll then be prompted to change the password.
30+
. Connect using the username 'neo4j' with your password or with the default password 'neo4j'.
31+
In the latter case, you'll be prompted to change the password.
2632
. Stop the server by typing `Ctrl-C` in the console.
2733

2834

@@ -32,6 +38,8 @@ You'll then be prompted to change the password.
3238
Neo4j can also be run as a Windows service.
3339
Install the service with `bin\neo4j install-service`, and start it with `bin\neo4j start`.
3440

41+
Don't forget to set your xref:configuration/set-initial-password.adoc[initial password].
42+
3543
The available commands for `bin\neo4j` are: `help`, `start`, `stop`, `restart`, `status`, `install-service`, `uninstall-service`, and `update-service`.
3644

3745
[NOTE]

0 commit comments

Comments
 (0)