Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13218

Investigate changes in SERVER-3788: version of auth() that prompts for password so it is never displayed

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • manual, Server

    Description

      Description

      Downstream Change Summary

      db.auth() now accepts just a username as an argument, leading to the passwordPrompt to request for the password immediately after.

      MongoDB Enterprise > db.auth('user')
      Enter password:
      1

      • Not an enterprise only feature - available in community too.

      Description of Linked Ticket

      Proposed syntax:

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

      Uses askPassword()

      Suggested by Dan C

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

              jeffrey.allen@mongodb.com Jeffrey Allen
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jeffrey Allen Jeffrey Allen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 24 weeks, 6 days ago