Discussion:
[mongodb-user] reset password in a replica set cluster
armand pirvu
2018-12-07 14:35:22 UTC
Permalink
Hello again

I set up a 3 replica set cluster and clutz as i am id not write my password

A bit of reading and I came with the following recipe

Does it sound okay/reasonable ?



- comment auth section

- comment also replication section

- restart

- mongo

- use amin

- db.updateUser("myadminuser", {pwd: "myadminpwd" })

- uncomment auth section

- uncomment also replication section

- restart mongo


Thank you

-- Armand
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/9fde7774-d678-4200-895c-3b20c31197b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...