Skip to content

Commit 5b22bc9

Browse files
Moving the password page to auth (neo4j#1260)
Co-authored-by: Reneta Popova <reneta.popova@neo4j.com>
1 parent 214ce9e commit 5b22bc9

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@
4040
** xref:configuration/file-locations.adoc[]
4141
** xref:configuration/ports.adoc[]
4242
** xref:configuration/set-initial-password.adoc[]
43+
<<<<<<< HEAD
4344
** xref:configuration/password-and-user-recovery.adoc[]
4445
** xref:configuration/connectors.adoc[]
46+
=======
47+
>>>>>>> 27a31fa (Moving the password page to auth (#1260))
4548
** xref:configuration/plugins.adoc[Plugins]
4649
** xref:configuration/dynamic-settings.adoc[]
4750
** xref:configuration/transaction-logs.adoc[]
@@ -81,6 +84,7 @@
8184
* xref:authentication-authorization/index.adoc[]
8285
** xref:authentication-authorization/introduction.adoc[]
8386
** xref:authentication-authorization/built-in-roles.adoc[]
87+
** xref:authentication-authorization/password-and-user-recovery.adoc[]
8488
** xref:authentication-authorization/access-control.adoc[]
8589
** xref:authentication-authorization/ldap-integration.adoc[]
8690
** 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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ The topics described are:
88
* xref:configuration/file-locations.adoc[File locations] -- An overview of where files are stored in the different Neo4j distributions and the necessary file permissions for running Neo4j.
99
* xref:configuration/ports.adoc[Ports] -- An overview of the ports relevant to a Neo4j installation.
1010
* xref:configuration/set-initial-password.adoc[Set initial password] -- How to set an initial password.
11-
* xref:configuration/password-and-user-recovery.adoc[Password and user recovery] -- How to recover after a lost admin password.
12-
* xref:configuration/connectors.adoc[Configure Neo4j connectors] -- How to configure Neo4j connectors.
13-
* xref:configuration/dynamic-settings.adoc[Configure dynamic settings] -- How to configure certain Neo4j parameters while Neo4j is running.
14-
* xref:configuration/transaction-logs.adoc[Transaction logs] -- The transaction logs record all write operations in the database.
11+
* xref:configuration/dynamic-settings.adoc[Update dynamic settings] -- How to configure certain Neo4j parameters while Neo4j is running.
12+
* xref:configuration/configuration-settings.adoc[Configuration settings] -- A complete reference of all configuration settings.
1513

1614
For a complete reference of Neo4j configuration settings, see xref:reference/configuration-settings.adoc[Configuration settings].
1715

0 commit comments

Comments
 (0)