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

Document db.changeUserPassword()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • None
    • None
    • None

    Description

      Hi,

      In 2.2 authentication, db.addUser was used to add a user as well as change the password for existing users but it looks like you get a duplicate key error in 2.4 if you try to use addUser to change a password.

      I think the new command is changeUserPassword but I don't see any documentation on it.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            jlee Jeff lee
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 38 weeks ago