Created
December 11, 2018 23:58
-
-
Save parzibyte/b74a9dcd5b97bad2487b2e634f72556c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.createUser({ | |
user: "parzibyte", | |
pwd: "hunter2", | |
roles: [ | |
{ | |
role: "userAdminAnyDatabase", | |
db: "admin" | |
}, | |
"readWriteAnyDatabase" | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment