Neo4j Server 2.2 Community - How to Change Login Password When Current Password Is Unknown

Windows 7 (SP1) Neo4j Community Edition 2.2

I use the front end screen to start the server on localhost / 7474. The log file says that the server starts up successfully. I can’t remember my password and all the documentation that I read about changing the password suggests that you know the current password. I looked at the dbf / auth file and contains only a hash. Could some change the login password? thank.

+4
source share
5 answers

You tried to stop Neo4j by deleting the file and restarting Neo4j. This should prompt you to enter a new password.

+7
source

3. - :server change-password, , . .

+7

Another workaround for disabling basicAuth in Neo4j would be the following:

Go to the file neo4j/conf/neo4j-sever.propertiesand edit the line:

WITH

# Require (or disable the requirement of) auth to access Neo4j
#dbms.security.auth_enabled=true

to

# Require (or disable the requirement of) auth to access Neo4j
dbms.security.auth_enabled=false
+3
source

For me, after stopping neo4j, it also worked only to add

password_change_required

at the end of the hash of the file User \ Eigene Dokumente \ Neo4j \ default.graphdb \ dbms \ auth. When starting neo4j, skipping was again the default.

+1
source

In Ubuntu 16.04 LTS:

sudo vi /etc/neo4j/neo4j.conf

and uncomment the line dbms.security.auth_enabled=false.

Then restart the server:

sudo service neo4j stop
sudo service neo4j start
+1
source

All Articles