diff --git a/modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc b/modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc index 8f28a12f6..2fb46c5b5 100644 --- a/modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc +++ b/modules/ROOT/pages/authentication-authorization/password-and-user-recovery.adoc @@ -86,7 +86,7 @@ bin/neo4j start [[password-recovery-for-admin]] == Recover a lost password -You can use a client such as xref:cypher-shell.adoc[][Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and set a new password for the admin user. +You can use a client such as xref:cypher-shell.adoc[Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and set a new password for the admin user. [NOTE] ==== @@ -124,7 +124,7 @@ ALTER USER neo4j SET PASSWORD 'mynewpassword' [[recover-unassigned-admin-role]] == Recover an unassigned admin role -You can use a client such as xref:cypher-shell.adoc[][Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and grant the admin user role to an existing user. +You can use a client such as xref:cypher-shell.adoc[Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and grant the admin user role to an existing user. [NOTE] ==== @@ -162,7 +162,7 @@ GRANT ROLE admin TO neo4j [[recover-admin-role]] == Recover the admin role -If you have removed the admin role from your system entirely, you can use a client such as xref:cypher-shell.adoc[][Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and recreate the role with its original capabilities. +If you have removed the admin role from your system entirely, you can use a client such as xref:cypher-shell.adoc[Cypher Shell] or the Neo4j Browser to connect to the xref:database-administration/index.adoc#manage-databases-system[`system`] database and recreate the role with its original capabilities. [NOTE] ==== diff --git a/modules/ROOT/pages/backup-restore/planning.adoc b/modules/ROOT/pages/backup-restore/planning.adoc index 96f15821e..03c03d2f6 100644 --- a/modules/ROOT/pages/backup-restore/planning.adoc +++ b/modules/ROOT/pages/backup-restore/planning.adoc @@ -51,7 +51,7 @@ This ensures that if for some reason your Neo4j DBMS crashes, you will be able t == Backup and restore options Neo4j supports backing up and restoring both online and offline databases. -It uses xref:neo4j-admin-neo4j-cli.adoc[][Neo4j Admin tool] commands, which can be run from a live, as well as from an offline Neo4j DBMS. +It uses xref:neo4j-admin-neo4j-cli.adoc[Neo4j Admin tool] commands, which can be run from a live, as well as from an offline Neo4j DBMS. All `neo4j-admin` commands must be invoked as the `neo4j` user to ensure the appropriate file permissions. * `neo4j-admin database backup/restore` (Enterprise only) -– used for performing online backup (xref:backup-restore/modes.adoc#full-backup[full] and xref:backup-restore/modes.adoc#differential-backup[differential]) and restore operations. diff --git a/modules/ROOT/pages/configuration/file-locations.adoc b/modules/ROOT/pages/configuration/file-locations.adoc index d90f82b0a..4ade23ea7 100644 --- a/modules/ROOT/pages/configuration/file-locations.adoc +++ b/modules/ROOT/pages/configuration/file-locations.adoc @@ -24,7 +24,7 @@ For the Neo4j's uses of the Java Native Access (JNA) library, set `server.jvm.ad [[neo4j-bin]] === Bin -The _bin_ directory contains the Neo4j running script and built-in tools, such as xref:cypher-shell.adoc[][Cypher Shell] and xref:neo4j-admin-neo4j-cli.adoc[][Neo4j Admin]. +The _bin_ directory contains the Neo4j running script and built-in tools, such as xref:cypher-shell.adoc[Cypher Shell] and xref:neo4j-admin-neo4j-cli.adoc[]. File permissions:: Read only and execute. diff --git a/modules/ROOT/pages/database-administration/queries.adoc b/modules/ROOT/pages/database-administration/queries.adoc index 878bf236e..8339bd12d 100644 --- a/modules/ROOT/pages/database-administration/queries.adoc +++ b/modules/ROOT/pages/database-administration/queries.adoc @@ -4,7 +4,7 @@ [NOTE] ==== -All commands and example queries in this section are run in xref:cypher-shell.adoc[][the Neo4j Cypher Shell command-line interface (CLI)]. +All commands and example queries in this section are run in xref:cypher-shell.adoc[]. Note that the `cypher-shell` queries are not case-sensitive, but must end with a semicolon. ==== diff --git a/modules/ROOT/pages/docker/operations.adoc b/modules/ROOT/pages/docker/operations.adoc index cbed1a445..1e5d3fb18 100644 --- a/modules/ROOT/pages/docker/operations.adoc +++ b/modules/ROOT/pages/docker/operations.adoc @@ -7,7 +7,7 @@ You can use the Neo4j tools when running Neo4j in a Docker container. [[docker-neo4j-admin]] == Use Neo4j Admin -The xref:neo4j-admin-neo4j-cli.adoc[][Neo4j Admin tool] can be run locally within a container using the following command: +The xref:neo4j-admin-neo4j-cli.adoc[`neo4j-admin` CLI] can be run locally within a container using the following command: [source, shell] ---- @@ -16,7 +16,7 @@ docker exec --interactive --tty neo4j-admin >. diff --git a/modules/ROOT/pages/tutorial/tutorial-composite-database.adoc b/modules/ROOT/pages/tutorial/tutorial-composite-database.adoc index 927b9b134..dac27a73f 100644 --- a/modules/ROOT/pages/tutorial/tutorial-composite-database.adoc +++ b/modules/ROOT/pages/tutorial/tutorial-composite-database.adoc @@ -131,7 +131,7 @@ Note that Cypher queries must end with a semicolon. + [NOTE] ==== -For more information about the Cypher Shell command-line interface (CLI) and how to use it, see xref:cypher-shell.adoc[][]. +For more information about the Cypher Shell command-line interface (CLI) and how to use it, see xref:cypher-shell.adoc[]. ==== . Run the command `SHOW DATABASES` to list all available databases: +