Changing the password in MongoDB for existing user

后端 未结 4 793
情话喂你
情话喂你 2021-02-12 12:40

I have production environment where my mongoDB is up and running and DBAs are asking us to change the password which we use for authentication. One way to do this is run the add

4条回答
  •  没有蜡笔的小新
    2021-02-12 13:26

    You linked to a question asking about adding authentication to MongoDB which involves starting 'mongod' with option --auth. Since you are already running with --auth the restart is not necessary in your scenario.

    Just change the user password and you'll be set to go.

提交回复
热议问题