mongodb - db.dropUser("user") returning false when logged in as root -
i logged in following:
{ "_id" : "admin.root", "user" : "root", "db" : "admin", "roles" : [ { "role" : "root", "db" : "admin" } ] }
the following happens:
> use mydb switched db mydb > db.dropuser("mydbreadwrite") false
i suspect not have roles, root?
it correct, user dropped before without notifying me(hmm...). returned false user did not exist.
Comments
Post a Comment