[DOCS-1515] Document db.changeUserPassword() Created: 15/May/13  Updated: 30/May/13  Resolved: 29/May/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Blocker - P1
Reporter: Jeff lee Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 2
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB 2.4

Location: http://docs.mongodb.org/manual/tutorial/add-user-to-database/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31
Referrer: http://docs.mongodb.org/manual/tutorial/add-user-administrator/
Screen Resolution: 2560 x 1440
repo: docs
source: tutorial/add-user-to-database


Participants:
Days since reply: 10 years, 38 weeks ago

 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.



 Comments   
Comment by auto [ 29/May/13 ]

Author:

{u'username': u'schmalliso', u'name': u'schmalliso', u'email': u'allison.moore@10gen.com'}

Message: DOCS-1515 add documentation of changeUserPassword in 2.4

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/9c24baacf02147402ab5f4c9ca2cd237c2b6d8d8

Generated at Thu Feb 08 07:41:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.