Neo4j Server 2.2 Community - 当前密码未知时如何更改登录密码
Neo4j Server 2.2 Community - How Do I Change Login Password When Current Password Unknown
Windows 7 (SP1) Neo4j 社区版 2.2
我正在使用前端屏幕在 localhost/7474 上启动服务器。日志文件显示服务器已成功启动。我无法记住我的密码,我阅读过的所有关于更改密码的文档都假定您知道当前密码。我查看了 dbf/auth 文件,它只包含一个散列。可以一些如何更改登录密码?谢谢
您是否尝试过停止 Neo4j、删除文件并重新启动 Neo4j。这应该会提示您输入新密码。
对我来说,在停止 neo4j 之后,它也可以只添加
password_change_required
在 User\Eigene Dokumente\Neo4j\default.graphdb\dbms\auth 文件的散列末尾。
启动neo4j时,pass又是默认的了。
在 Neo4j 中关闭 basicAuth 的其他解决方法如下:
进入 neo4j/conf/neo4j-sever.properties
文件并编辑行:
来自
# Require (or disable the requirement of) auth to access Neo4j
#dbms.security.auth_enabled=true
到
# Require (or disable the requirement of) auth to access Neo4j
dbms.security.auth_enabled=false
我在使用版本 3 时遇到了同样的问题。终于可以 :server change-password
让我输入默认密码,然后再输入一个新密码。呸。
在 Ubuntu 16.04 LTS 中:
sudo vi /etc/neo4j/neo4j.conf
并取消注释 dbms.security.auth_enabled=false
行。
然后重启服务器:
sudo service neo4j stop
sudo service neo4j start
Windows 7 (SP1) Neo4j 社区版 2.2
我正在使用前端屏幕在 localhost/7474 上启动服务器。日志文件显示服务器已成功启动。我无法记住我的密码,我阅读过的所有关于更改密码的文档都假定您知道当前密码。我查看了 dbf/auth 文件,它只包含一个散列。可以一些如何更改登录密码?谢谢
您是否尝试过停止 Neo4j、删除文件并重新启动 Neo4j。这应该会提示您输入新密码。
对我来说,在停止 neo4j 之后,它也可以只添加
password_change_required
在 User\Eigene Dokumente\Neo4j\default.graphdb\dbms\auth 文件的散列末尾。 启动neo4j时,pass又是默认的了。
在 Neo4j 中关闭 basicAuth 的其他解决方法如下:
进入 neo4j/conf/neo4j-sever.properties
文件并编辑行:
来自
# Require (or disable the requirement of) auth to access Neo4j
#dbms.security.auth_enabled=true
到
# Require (or disable the requirement of) auth to access Neo4j
dbms.security.auth_enabled=false
我在使用版本 3 时遇到了同样的问题。终于可以 :server change-password
让我输入默认密码,然后再输入一个新密码。呸。
在 Ubuntu 16.04 LTS 中:
sudo vi /etc/neo4j/neo4j.conf
并取消注释 dbms.security.auth_enabled=false
行。
然后重启服务器:
sudo service neo4j stop
sudo service neo4j start