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

When copyDatabase is used with authentication, user/pass should not be logged in the shell history file

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Security, Shell
    • None
    • ALL

    Description

      This command includes a database username and password:

      db.copyDatabase( "test", "records", db0.example.net, "<username>", "<password>")

      http://docs.mongodb.org/manual/tutorial/copy-databases-between-instances/#copy-a-database-with-authentication

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            gianfranco Gianfranco Palumbo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: