title: Unable to create new user in MongoDB
body: <p>I have installed mongodb as per this guide</p>
  
  <p><a href="https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-14-04" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-14-04</a></p>
  
  <p>However I have no idea how to fetch the admin user/pass or even create it.</p>
  
  <pre><code>db.createUser { user: "username",pwd: "monkey123",roles: [{ role: "readWrite", db: "0" } ]}
  </code></pre>
  
  <p>and get</p>
  
  <pre><code>2015-11-19T14:18:52.867-0500 E QUERY    SyntaxError: Unexpected token      {
  </code></pre>
  
  <p>I follow the mongo docs and get this also </p>
  
  <pre><code>TypeError: Property 'addUser' of object 0 is not a function
  </code></pre>
  
  <p>All I want is to get the admin user/pass or make my own user so I can connect the nodebb forum app to mongodb.  </p>