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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Shell
    • Fully Compatible
    • Security 2019-11-04, Security 2019-11-18

      Proposed syntax:

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

      Uses askPassword()

      Suggested by Dan C

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

              Created:
              Updated:
              Resolved: