Skip to content

Instantly share code, notes, and snippets.

@gullitmiranda
Created June 15, 2014 08:56
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 gullitmiranda/62d704af700e27c533b3 to your computer and use it in GitHub Desktop.
Save gullitmiranda/62d704af700e27c533b3 to your computer and use it in GitHub Desktop.
Enable mongodb security
use admin
db.addUser({user:"user",pwd:"password",roles:["userAdminAnyDatabase"]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment