Yes, it is the same.
In my case the database already had some users configured. But because I did't start the server with --auth option, MongoDB ignored all users and allowed everyone to connect.
9 karma · joined June 19, 2014
In my case the database already had some users configured. But because I did't start the server with --auth option, MongoDB ignored all users and allowed everyone to connect.
Situation #1, new database: Start MongoDb without any users, but as soon as the admin user is added, drop all connections and enable authentication
Situation #2, existing database: In MongoDB is started with a database, that has admin user but the authentication is not enabled, fail and exit.
I understand why the authentication is disabled by default, but it should fail to start with a DB that has users with roles and stuff.