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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • 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

        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: