Last active
August 29, 2015 14:08
-
-
Save FrancescaK/36bf3489ce1b78fe85ab to your computer and use it in GitHub Desktop.
Centrify_4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ service mongod start | |
$ mongo | |
> db.getSiblingDB("$external").createUser( | |
{ | |
user : "alex", | |
roles: [ { role: "root" , db : "admin"} ] | |
} | |
) | |
> db.getSiblingDB("$external").createUser( | |
{ | |
user: "[email protected]", | |
roles: [ { role: "root", db: "admin" } ] | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment