Skip to content

Instantly share code, notes, and snippets.

@FrancescaK
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancescaK/36bf3489ce1b78fe85ab to your computer and use it in GitHub Desktop.
Save FrancescaK/36bf3489ce1b78fe85ab to your computer and use it in GitHub Desktop.
Centrify_4
$ service mongod start
$ mongo
> db.getSiblingDB("$external").createUser(
{
user : "alex",
roles: [ { role: "root" , db : "admin"} ]
}
)
> db.getSiblingDB("$external").createUser(
{
user: "alex@MONGOTEST.COM",
roles: [ { role: "root", db: "admin" } ]
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment