[SERVER-3788] version of auth() that prompts for password so it is never displayed Created: 08/Sep/11 Updated: 12/Nov/19 Resolved: 12/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Shreyas Kalyan |
| Resolution: | Done | Votes: | 2 |
| Labels: | platforms-re-triaged | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||
| Sprint: | Security 2019-11-04, Security 2019-11-18 | ||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Description |
|
Proposed syntax: > db.auth('username') Uses askPassword() Suggested by Dan C |
| Comments |
| Comment by Githook User [ 11/Nov/19 ] |
|
Author: {'name': 'Shreyas Kalyan', 'username': 'shreyaskal', 'email': 'shreyas.kalyan@mongodb.com'}Message: |
| Comment by Kevin Pulo [ 22/Aug/18 ] |
|
The passwordPrompt() shell js function recently added on It would also be great to do a similar thing in db.createUser(), db.updateUser(), and db.changeUserPassword() (and any other similar user-manipulation functions that take a password). |