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

version of auth() that prompts for password so it is never displayed

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Shell
    • Fully Compatible
    • Security 2019-11-04, Security 2019-11-18

    Description

      Proposed syntax:

      > db.auth('username')
      Enter password:

      Uses askPassword()

      Suggested by Dan C

      Attachments

        Issue Links

          Activity

            People

              shreyas.kalyan@mongodb.com Shreyas Kalyan
              mathias@mongodb.com Mathias Stearn
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: