The version I use is neo4j-enterprise-2.2.0-M02
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.
Any help will be greatly appreciated!
start the Neo4j server. - Open the url(http://127.0.0.1:7474/browser/) in browser. - click on Database icon from left side menu. - Find "Connected as" -> :server user add , click on and add your desire user name and password in right windows.
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.
The default username for a neo4j database is neo4j. The DB Password is the password for the neo4j database. The default password for a neo4j database is neo4j.
Neo4j Browser is the easiest way to access a Neo4j database. To establish a connection, you enter the DBMS URL, the name of the database you want to connect, and the user credentials. You can also use the :server command to manage the connection to Neo4j.
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.
You can use the command :help server
to see available authentication commands.
Although still utilizing the REST API, I'll throw the cURL option out there to anyone who doesn't have access to a web browser (AWS instance, for example):
$ curl -H "Content-Type: application/json" -X POST -d '{"password":"WHATEVER THE PASSWORD IS"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With