Skip to content

Instantly share code, notes, and snippets.

@shannonbradshaw
Last active July 31, 2016 19:27
Show Gist options
  • Save shannonbradshaw/a0395f88761edb073dd184678ced8cc6 to your computer and use it in GitHub Desktop.
Save shannonbradshaw/a0395f88761edb073dd184678ced8cc6 to your computer and use it in GitHub Desktop.
Task: Security
  1. Launch a MongoDB Instance
  2. Create a user that can administer users in any database in our MongoDB instance. You may use the following credentials: username: securityofficer password: doughnuts
  3. Restart the MongoDB server such that only authenticated users may connect.
  4. Connect to the MongoDB server from the mongo shell authenticating as user securityofficer
  5. Do a find() on the system.users collection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment