calls to db.createUser() function not saved in shell history

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In a mongo shell, when i call the createUser function and go back through my shell history, it doesn't show up.
      This is on 2.5.4 shell with a 2.5.4 server on OSX.

      example:

      > var x = 12345
      > db.createUser({user:"mike", pwd:"blah", roles:[]})
      Successfully added user: { "user" : "mike", "roles" : [ ] }
        
      (hit arrow up key)
      > var x = 12345
      

              Assignee:
              Unassigned
              Reporter:
              Michael O'Brien
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: