title: MongoError: Authentication failed
body: <p>I am trying to setup an app with mongodb. I apparently need to </p>
  
  <pre><code>nano /etc/mongo.conf and uncomment "auth=true"
  </code></pre>
  
  <p>But there is no such setting, I have even checked /etc/mongod.conf and there is no auth=true in there.</p>
  
  <p>So I was told to add user with userAdminAnyDatabase so I went in to the mongo shell and tried</p>
  
  <pre><code>db.createUser({ user: "username", pwd: "password", roles: ["userAdminAnyDatabase"] });
  </code></pre>
  
  <p>and I get </p>
  
  <pre><code>Error: couldn't add user: No role named userAdminAnyDatabase@test
  </code></pre>
  
  <p>All I want to do is either find my admin conn settings or just disable localhost auth altogether and get on with the installation.</p>
  
  <p>Any ideas what im doing wrong?</p>