Update mongodb debian
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`
|
||||
|
||||
### 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:
|
||||
Loading…
Reference in a new issue