Hacker News new | ask | show | jobs
by beermonster 1820 days ago
I think by default mongodb has no enabled access control, so there is no default user or password.
2 comments

Am I misunderstanding or do people launch their Mongo container without even MONGO_INITDB_ROOT_{USERNAME,PASSWORD}? It's clearly mentioned in the image README. Takes 15 seconds to set. I'd be incredibly concerned if anybody with more than a day of infrastructure experience did this, even worse on a production database.
How is this acceptable… requiring a password, even a weak one might have at least bought some time in this situation.