Details
-
Improvement
-
Resolution: Done
-
Critical - P2
-
mongodb-3.0
-
None
Description
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