Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
Security 2019-11-04, Security 2019-11-18
Description
Proposed syntax:
> db.auth('username')
Enter password:
Uses askPassword()
Suggested by Dan C
Attachments
Issue Links
- duplicates
-
SERVER-3472 Add auth function that prompts for password to mongo shell
-
- Closed
-
- is documented by
-
DOCS-13218 Investigate changes in SERVER-3788: version of auth() that prompts for password so it is never displayed
-
- Closed
-
- is duplicated by
-
SERVER-41724 allow db.auth command to prompt for password
-
- Closed
-
- is related to
-
SERVER-44008 Create User commands are not added to mongo shell history
-
- Closed
-
-
SERVER-36802 Don't omit db.auth() et al from shell history if they don't contain string literal password
-
- Closed
-
- related to
-
SERVER-24391 Prompt for password on user creation or password change via the shell
-
- Closed
-