-
Type:
Question
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 2.0.2
-
Component/s: Replication
-
None
-
Environment:OS version:redhat linux 5.6
kernel version:2.6.18-238.el5
MongoDB version:2.0.2-rc1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I have set up the MongoDB Replica Set,I startup the mongod instance using KeyFile parameter,I also create user "root" in admin database,grant the user privilege read-write.
But I have incidently change the user's "root" privilege from read-write to read-only.
My question is how to recover the privlege from read-only to read-write?