Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Alter User to change default root password not working #1360

Closed
Jayuda opened this issue Feb 15, 2022 · 5 comments
Closed

Alter User to change default root password not working #1360

Jayuda opened this issue Feb 15, 2022 · 5 comments

Comments

@Jayuda
Copy link

Jayuda commented Feb 15, 2022

Hello guys, i have create docker nebula with nebula-up. And i access this database with nebula studio. Everything work well create space, node, etc.
But i want to change default password for user root with nGQL :

ALTER USER root WITH PASSWORD 'NerwPassword';

Show success result with green notifications.
image

For check this, i am logout and login again with user = root and pass = nebula --> Still success login and password valid.
Any clue about it ?

@wey-gu
Copy link

wey-gu commented Feb 16, 2022

Dear @Jayuda,
This repo is archived actually, vesoft-inc/nebula is the repo for nebula core.

This is related to --enable_authorize and in nebula-up and docker-compose, it's actually false due to it's not a production deployment.

ref: https://docs.nebula-graph.io/2.6.2/7.data-security/1.authentication/1.authentication/

@Jayuda
Copy link
Author

Jayuda commented Feb 16, 2022

I have change /usr/local/nebula/etc/nebula-graphd.conf parameter --enable_authorize=true
and restart graphd.
after that i cant login anymore with user root and password nebula.

How to set it ?

@wey-gu
Copy link

wey-gu commented Feb 16, 2022

I have change /usr/local/nebula/etc/nebula-graphd.conf parameter --enable_authorize=true and restart graphd. after that i cant login anymore with user root and password nebula.

How to set it ?

In docker-compose deployed nebula graph, the conf was passed with the run command through docker-compose.yaml file

ref: https://docs.nebula-graph.io/3.0.0/5.configurations-and-logs/1.configurations/1.configurations/#configuration_files_for_clusters_installed_with_docker_compose

@Jayuda
Copy link
Author

Jayuda commented Feb 18, 2022

thank you for your answer and patience Mr. @wey-gu
Work well

@Jayuda Jayuda closed this as completed Feb 18, 2022
@wey-gu
Copy link

wey-gu commented Feb 18, 2022

Any time @Jayuda :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants