-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 2.1.1
-
Component/s: None
-
None
-
Environment:OS: ubuntu 20.04
-
3
-
Iteration Xiaosaurus
-
Not Needed
-
Developer Tools
When using commands like db.auth and db.createUser password do not get redacted from mongosh_repl_history.
Attached mongosh logs
Here the steps to do reproduce it
mongosh --quiet use admin db.auth("root","root")
check the content in the file $HOME/.mongodb/mongosh/mongosh_repl_history
Attached a screenshot
- is duplicated by
-
MONGOSH-1729 Database passwords stored in cleartext in repl history
- Closed