-
Type: Task
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: mongodb-3.0
-
Component/s: tools
-
Labels:None
In 3.0 we've changed the behavior of password prompting in the tools. Previously, running a tool with --password or -p with no following argument (or with "" as the argument) would cause the tool to prompt the user for a password from the command line.
In >3.0, we've simplified the prompt behavior. If the user enters a username but supplies no password flag, the tools will prompt them for a password if they are using an auth mechanism that requires a password. They can also get this behavior by running -p "", as they could in the old tools. Passing password or p with no argument will cause in error in >3.0 versions