disable auth in YAML-based configuration file format

363 views
Skip to first unread message

Elysee Dagan

unread,
Feb 22, 2015, 7:30:44 AM2/22/15
to mongod...@googlegroups.com
Hello,
to disable the authentication in mongo.cfg, I use
auth=false

How to achieve the same thing in YAML-based configuration file format?

auth: false
doesn't work

Security:
  authentication: false

doesn't work

Security:
  authentication: disabled

doesn't work

Security:
  auth: disabled


doesn't work.

Could you provide a full YAML configuration of mongo so people can only change what they want?

thanks

Envel Le Hir

unread,
Feb 23, 2015, 9:32:16 AM2/23/15
to mongod...@googlegroups.com
Hello,


You should try:

security:
    authorization: disabled


--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/70342dc5-dfcf-4832-b45f-43a51e9e3ce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Sidman

unread,
Mar 24, 2015, 1:51:10 AM3/24/15
to mongod...@googlegroups.com
Hi,

I am having the same problem even with this solution. I wonder if this is due to the fact we are running on windows 2012.
Reply all
Reply to author
Forward
0 new messages