Skip to content

Commit 621a6a3

Browse files
Moving the password page to auth (neo4j#1260) (neo4j#1286)
Cherry-picked from neo4j#1260 --------- Co-authored-by: Reneta Popova <[email protected]>
1 parent 214ce9e commit 621a6a3

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040
** xref:configuration/file-locations.adoc[]
4141
** xref:configuration/ports.adoc[]
4242
** xref:configuration/set-initial-password.adoc[]
43-
** xref:configuration/password-and-user-recovery.adoc[]
44-
** xref:configuration/connectors.adoc[]
4543
** xref:configuration/plugins.adoc[Plugins]
4644
** xref:configuration/dynamic-settings.adoc[]
4745
** xref:configuration/transaction-logs.adoc[]
@@ -81,6 +79,7 @@
8179
* xref:authentication-authorization/index.adoc[]
8280
** xref:authentication-authorization/introduction.adoc[]
8381
** xref:authentication-authorization/built-in-roles.adoc[]
82+
** xref:authentication-authorization/password-and-user-recovery.adoc[]
8483
** xref:authentication-authorization/access-control.adoc[]
8584
** xref:authentication-authorization/ldap-integration.adoc[]
8685
** xref:authentication-authorization/manage-execute-permissions.adoc[]

modules/ROOT/pages/configuration/password-and-user-recovery.adoc renamed to modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
:description: This page describes how to reset a password to recover a user's access when their password is lost. It specifically focuses on how to recover an admin user if all the admin users have been unassigned the admin role, and how to recreate the built-in admin role if it has been dropped.
2+
:page-aliases: configuration/password-and-user-recovery.adoc
23
[[password-and-user-recovery]]
3-
= Password and user recovery
4+
= Recover admin user and password
45

56
This page describes how to reset a password to recover a user's access when their password is lost.
67
It specifically focuses on how to recover an admin user if all the admin users have been unassigned the admin role, and how to recreate the built-in admin role if it has been dropped.
@@ -100,7 +101,7 @@ You can use a client such as xref:tools/cypher-shell.adoc[Cypher Shell] or the N
100101
In a cluster deployment, you should complete the steps only on one of the Core servers.
101102
====
102103

103-
. Complete the steps in xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
104+
. Complete the steps in xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
104105
. Connect to the `system` database using Cypher shell.
105106
Alternatively, log into Neo4j Browser.
106107
+
@@ -126,7 +127,7 @@ ALTER USER neo4j SET PASSWORD 'mynewpass'
126127
----
127128
:exit;
128129
----
129-
. Proceed with the xref:configuration/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
130+
. Proceed with the xref:authentication-authorization/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
130131

131132
[[recover-unassigned-admin-role]]
132133
== Recover an unassigned admin role
@@ -138,7 +139,7 @@ You can use a client such as xref:tools/cypher-shell.adoc[Cypher Shell] or the N
138139
In a cluster deployment, you should complete the steps only on one of the Core servers.
139140
====
140141

141-
. Complete the steps in xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
142+
. Complete the steps in xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
142143
. Connect to the `system` database using Cypher shell.
143144
Alternatively, log into Neo4j Browser.
144145
+
@@ -164,7 +165,7 @@ GRANT ROLE admin TO neo4j
164165
----
165166
:exit;
166167
----
167-
. Proceed with the xref:configuration/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
168+
. Proceed with the xref:authentication-authorization/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
168169

169170
[[recover-admin-role]]
170171
== Recover the admin role
@@ -176,7 +177,7 @@ If you have removed the admin role from your system entirely, you can use a clie
176177
In a cluster deployment, you should complete the steps only on one of the Core servers.
177178
====
178179

179-
. Complete the steps in xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
180+
. Complete the steps in xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
180181
. Connect to the `system` database using Cypher shell.
181182
Alternatively, log into Neo4j Browser.
182183
+
@@ -217,7 +218,7 @@ To grant the role to a user (assuming your existing user is named `neo4j`), you
217218
----
218219
:exit;
219220
----
220-
. Proceed with the xref:configuration/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
221+
. Proceed with the xref:authentication-authorization/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
221222

222223
[[post-recovery]]
223224
== Post-recovery steps
@@ -233,7 +234,7 @@ To grant the role to a user (assuming your existing user is named `neo4j`), you
233234
----
234235
$ bin/neo4j stop
235236
----
236-
. Enable the authentication and restore your Neo4j to its original configuration (See xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication]).
237+
. Enable the authentication and restore your Neo4j to its original configuration (See xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication]).
237238
. Start Neo4j:
238239
+
239240
[source, shell]

modules/ROOT/pages/configuration/index.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ The topics described are:
1313
* xref:configuration/dynamic-settings.adoc[Configure dynamic settings] -- How to configure certain Neo4j parameters while Neo4j is running.
1414
* xref:configuration/transaction-logs.adoc[Transaction logs] -- The transaction logs record all write operations in the database.
1515

16-
For a complete reference of Neo4j configuration settings, see xref:reference/configuration-settings.adoc[Configuration settings].
17-
18-
16+
For a complete reference of Neo4j configuration settings, see xref:reference/configuration-settings.adoc[Configuration settings].

0 commit comments

Comments
 (0)