I hereby claim:
- I am uhkey on github.
- I am k1eran (https://keybase.io/k1eran) on keybase.
- I have a public key ASCgjAcOYAPY8_dEuJK7EijoowBBkY1rnVkjtAMS-LVwLAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
1. Add an Administrator User. | |
To add an Administrative user, you'll need to be first connected to the Mongo shell. | |
From here, connect to the default admin database, you can do this by running "use admin" in the Mongo shell. | |
Now, run "db.createUser({ user: "username", pwd: passwordPrompt(), roles: [ { role: "userAdminAnyDatabase", db: "admin", "readWriteAnyDatabase"}]})" | |
If this is ran correctly, you'll see a prompt to enter a password, enter a password of your choice here. | |
You'll see an output similar to the one below: |