-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.5.4
-
Component/s: Security
-
Labels:None
-
Environment:OS X 10.8.4
MongoDB 2.5.4 community edition
-
ALL
-
While testing the clusterMonitor permission, I noticed the mongo shell was not filtering out my prior db.createUser(...) command.
[john@John-Morales-MacBook-Pro mongodb-osx-x86_64-2.5.4]$ ./bin/mongo --port 55000 MongoDB shell version: 2.5.4 connecting to: 127.0.0.1:55000/test Error while trying to show server startup warnings: not authorized on admin to execute command { getLog: "startupWarnings" } (reverse-i-search)`create': db.createUser({user:"[user]",pwd:"[pw]", roles:[{role:"root",db:"admin"}]})