Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
4
-
Docs Sprint 16 - Ending 3/13
Description
The procedure at http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/#procedure is for MongoDB 2.6. It would be useful to have a similar procedure for MongoDB 2.4.
Alternatively, the procedure could be adapted to be compatible with MongoDB 2.4 and 2.6. I believe that the only change required would be to adjust step 2 to be:
use admin
|
db.addUser( { user: "siteUserAdmin",
|
pwd: "<password>",
|
roles: [ "userAdminAnyDatabase" ] } )
|
db.addUser( { user: "siteRootAdmin",
|
pwd: "<password>",
|
roles: [ "userAdminAnyDatabase",
|
"readWriteAnyDatabase",
|
"dbAdminAnyDatabase",
|
"clusterAdmin" ] } )
|
when MongoDB 2.4 is used.