R
R
regix2017-07-16 21:38:40
MongoDB
regix, 2017-07-16 21:38:40

How to remove a user from system.users, which is not in any database?

The output db.system.users.find()indicates that some user exists:

{ "_id" : "test.enduser", "user" : "enduser", "db" : "test", "credentials" : { "SCRAM-SHA-1" : { "iterationCount" : 10000, "salt" : "PdIGH8sdpJaE25ZQiD9utg==", "storedKey" : "OIzE/09S9LzpsgWsQke1zX8fmLM=", "serverKey" : "MTYEJvonuut/0qb8Ayg9Rq4J4sg=" } }, "roles" : [ { "role" : "readWrite", "db" : "wes-local" } ] }

show dbsThis user does not appear in any of the databases that I display with the command . How to remove this evil spirits and why is everything so difficult?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question