New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a username and password for Sign in ArangoDB Web Interface #4404
Comments
I am sorry, but I don't understand the question. |
How to set up a password for the cluster user?I want to set up a login user for my database instead of going directly to the control interface.The current data is a direct login control interface(example : http://127.23.7.45:8529). |
Sorry to repeat myself, but for this we do need to know how you actually started the cluster and with what options. As there are multiple possible ways for this and it is not obvious from your question, please come back with your startup commands for ArangoDB and/or the configuration you used. Thanks! |
started the cluster : |
Ok, so you are using the starter as it seems. |
Thanks so so so so much |
Have you started the server with authentication or not? |
no , i use the default set, so , i don't know how to set authentication for cluster |
From https://github.com/arangodb-helper/arangodb#authentication-options:
Can you try this? |
my boss say this is use http protocol , it's not to set a use for web interface, :-( |
Sorry I don't think I can help. Either you turn on the authentication using the option I pointed you to (which has nothing to do with the protocol), or you leave it turned off. |
OK, thank so much |
你好,请问你的问题解决了吗?我这边在集群情况下用web interface登陆也是不需要user和password,直接就进入使用界面了,但是用arangosh登陆时需要user和password。 |
english, german or itallian please. |
In the case of cluster, when I log in the database through the Web Interface, there is no need username and password, but it is need when use arangosh. I hope to there is a authentication before I log in when use the Web Interface. |
you can use the root-user (as its filled in in the webinterface for you) and specify an empty password:
Arangosh doesn't do an extra invokation to the server in advance to detect whether it has authentification enabled. |
thank you very much! It's weekend now. I can't try it until I get back to the company next week. 哈哈哈 |
The question is I don't need fill in username and password in the web interface and access directly after I enter http://192.168.52.132:8529 in the browser, there seems to be a lack of authentication here. Authentication is exactly what I need, and how can I add it in the web interface? |
If authentication is disabled on the server-side, then the web interface skips the logon step and goes to the database selection dialog. Arangosh is a client tool and does not know whether authentication is enabled or disabled on the server-side. The option The default user name arangosh will try is Only because arangosh asks for a password doesn't make your cluster more secure. What you need is to configure authentication on the server-side, as jsteemann already told you. |
my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:
Mode:
Storage-Engine:
On this operating system:
this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:
I've run
db._explain("<my aql query>")
and it didn't shed more light on this.The AQL query in question is:
The issue can be reproduced using this dataset:
Please provide a way to create the dataset to run the above query on; either by a gist with an arangodump, or `db.collection.save({my: "values"}) statements. If it can be reproduced with one of the ArangoDB example datasets, it's a plus.
Foxx
this is a web interface-related issue:
I'm using the web interface with this browser: running on this OS:
These are the steps to reproduce:
_system
[ ] other:...
The following problem occurs: [Screenshot?]
i hope can set a user and password for sign in arangodb web interface, instead now of not password.
i use cluster.
this is an installation-related issue:
Describe which steps you carried out, what you expected to happen and what actually happened.
The text was updated successfully, but these errors were encountered: