Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
** xref:configuration/ports.adoc[]
** xref:configuration/connectors.adoc[]
** xref:configuration/set-initial-password.adoc[]
** xref:configuration/password-and-user-recovery.adoc[]
** xref:configuration/plugins.adoc[Plugins]
** xref:configuration/dynamic-settings.adoc[]
** xref:configuration/transaction-logs.adoc[]
Expand Down Expand Up @@ -139,6 +138,7 @@
* xref:authentication-authorization/index.adoc[]
** xref:authentication-authorization/introduction.adoc[]
** xref:authentication-authorization/built-in-roles.adoc[]
** xref:authentication-authorization/password-and-user-recovery.adoc[]
** xref:authentication-authorization/access-control.adoc[]
** xref:authentication-authorization/ldap-integration.adoc[]
** xref:authentication-authorization/sso-integration.adoc[]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
: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.
:page-aliases: configuration/password-and-user-recovery.adoc
[[password-and-user-recovery]]
= Password and user recovery
= Recover admin user and password

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.
Expand Down Expand Up @@ -100,7 +101,7 @@ You can use a client such as xref:tools/cypher-shell.adoc[Cypher Shell] or the N
In a cluster deployment, you should complete the steps only on one of the Core servers.
====

. Complete the steps in xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
. Complete the steps in xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication] as per your deployment.
. Connect to the `system` database using Cypher shell.
Alternatively, log into Neo4j Browser.
+
Expand All @@ -126,7 +127,7 @@ ALTER USER neo4j SET PASSWORD 'mynewpassword'
----
:exit;
----
. Proceed with the xref:configuration/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.
. Proceed with the xref:authentication-authorization/password-and-user-recovery.adoc#post-recovery[post-recovery steps] as per your deployment.

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

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

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

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

[[post-recovery]]
== Post-recovery steps
Expand All @@ -233,7 +234,7 @@ To grant the role to a user (assuming your existing user is named `neo4j`), you
----
$ bin/neo4j stop
----
. Enable the authentication and restore your Neo4j to its original configuration (See xref:configuration/password-and-user-recovery.adoc#disable-authentication[Disable authentication]).
. Enable the authentication and restore your Neo4j to its original configuration (See xref:authentication-authorization/password-and-user-recovery.adoc#disable-authentication[Disable authentication]).
. Start Neo4j:
+
[source, shell]
Expand Down
5 changes: 2 additions & 3 deletions modules/ROOT/pages/configuration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ The topics described are:
* xref:configuration/ports.adoc[Ports] -- An overview of the ports relevant to a Neo4j installation.
* xref:configuration/connectors.adoc[Configure Neo4j connectors] -- How to configure Neo4j connectors.
* xref:configuration/set-initial-password.adoc[Set initial password] -- How to set an initial password.
* xref:configuration/password-and-user-recovery.adoc[Password and user recovery] -- How to recover after a lost admin password.
* xref:configuration/dynamic-settings.adoc[Configure dynamic settings] -- How to configure certain Neo4j parameters while Neo4j is running.
* xref:configuration/transaction-logs.adoc[Transaction logs] -- The transaction logs record all write operations in the database.
* xref:configuration/dynamic-settings.adoc[Update dynamic settings] -- How to configure certain Neo4j parameters while Neo4j is running.
* xref:configuration/configuration-settings.adoc[Configuration settings] -- A complete reference of all configuration settings.

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

Expand Down