diff --git a/mongodb-debian.md b/mongodb-debian.md index 314aef3..205a808 100644 --- a/mongodb-debian.md +++ b/mongodb-debian.md @@ -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` ### 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: \ No newline at end of file