title: Create Superuser in mongo
body: <p>I'm trying to create a user in mongo who can do anything in any db.</p>
  
  <p>According to the guide I created a new admin: <a href="http://docs.mongodb.org/manual/tutorial/add-user-administrator" rel="noreferrer">http://docs.mongodb.org/manual/tutorial/add-user-administrator</a></p>
  
  <p>This is the code:</p>
  
  <pre><code>use admin
  db.addUser( { user: "try1",
                pwd: "hello,
                roles: [ "userAdminAnyDatabase" ] } )
  </code></pre>
  
  <p>Then I stopped mongo, enabled the auth and restarted mongo.</p>
  
  <p>Then I tried to create a database with his user.</p>
  
  <p>According with this guide: <a href="http://www.mkyong.com/mongodb/how-to-create-database-or-collection-in-mongodb/" rel="noreferrer">http://www.mkyong.com/mongodb/how-to-create-database-or-collection-in-mongodb/</a></p>
  
  <pre><code>use fragola 
  db.users.save( {username:"fragolino"} )
  </code></pre>
  
  <p>And I get this: "not authorized for insert on fragola.users"</p>
  
  <p>Anyone can help me?</p>