Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5616

Any shell command containing the string ".auth" is not added to shell history

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.1.2
    • 2.1.0
    • Shell
    • None
    • ALL

    Description

      Instead of removing only db.auth() lines from the history, any command containing ".auth" is removed. This is annoying because ".auth" is used fairly often, e.g., db.authors.find() or db.issue.find(

      {"comment.author": "bill"}

      )

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: