如何在没有 REST API 的情况下为 neo4j 集群配置用户和密码 [英] How to configure user and password for neo4j cluster without REST API
问题描述
我使用的版本是neo4j-enterprise-2.2.0-M02
The version I use is neo4j-enterprise-2.2.0-M02
我的问题是:如何在后端或浏览器而不是 REST API 中配置用户(如添加新用户、更改密码等)?我可以通过neo4j-shell来做吗?想象一下我是一个DBA,通过REST API来做这个不是很方便.
My question is : How can I configure a user (like add a new user, change the password ,etc) in backend or browser, instead of REST API? Can I do it via neo4j-shell? imagine that I am a DBA, it is not very convenient to do this by REST API.
任何帮助将不胜感激!
推荐答案
您可以使用浏览器代替 API.只需转到 http://localhost:7474
(或 Web 控制台绑定到的任何 IP),系统将提示您更改密码.验证通过后,使用命令 :server change-password
再次更改密码.
You can use the browser instead of the API. Just go to http://localhost:7474
(or whatever IP to which the web console is bound) and you will be prompted to change the password. Once authenticated, use the command :server change-password
to change the password again.
目前还不能在系统内创建多个用户帐户.
It is not yet possible to create multiple user accounts within the system.
您可以使用命令 :help server
查看可用的身份验证命令.
You can use the command :help server
to see available authentication commands.
这篇关于如何在没有 REST API 的情况下为 neo4j 集群配置用户和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!