-
Notifications
You must be signed in to change notification settings - Fork 871
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
Unable to change root password for database if provided via environment variable ORIENTDB_ROOT_PASSWORD #10273
Comments
Hi, |
Hi, This should be fixed in 3.2.33 let me know if you can verify it. Regards |
Hi @tglman, Thanks for resolving the issue. I verified it is now resolved. If new password set via environment variable it is considering the new password. |
Hi, Thank you for checking this, yes we should not log the password, that strange, I will double check this and make sure it doesn't happen, will leave this open till I make sure is not logged |
OrientDB Version: 3.2.32
Java Version: openjdk 11.0.23
OS: Alpine
Expected behavior
If the value of ORIENTDB_ROOT_PASSWORD is changed in the new password should be consumed.
Actual behavior
When ORIENTDB_ROOT_PASSWORD is changed, database is unable to use new password, instead continues to use old password.
When the OSystem database is deleted then only new password is consumed.
Steps to reproduce
Extra Findings
If password is provided via orientdb-server-config.xml file as provided below
<users> <user name="root" password="Root@1234" resources="*" /> <user name="guest" password="admin" resources="connect,server.listDatabases,server.dblist" /> </users>
Then I am able to login database with both passwords. One provided via environment variable and one provided in xml file at the same time.
The text was updated successfully, but these errors were encountered: