Update mongodb debian

rainbow napkin 2024-12-07 19:48:01 +00:00
parent 0275871d7a
commit 4a620fcbb6

@ -10,4 +10,6 @@
4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongodb-org` 4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongodb-org`
### Hardening MongoDB ### Hardening MongoDB
1. Start mongod without authentication `sudo systemctl start mongod` 1. Start mongod without authentication and drop into a shell `sudo systemctl start mongod & mongosh`
2. Switch over to the admin database `use admin`
3. Create the administrative user: