From d71eb26037ce5967ac648ebe0778228dbd14c408 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 28 Jun 2023 12:38:08 +0100 Subject: [PATCH] add more info to adding user --- guides/ubuntu/pages/mongodb-install.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guides/ubuntu/pages/mongodb-install.md b/guides/ubuntu/pages/mongodb-install.md index 02db453..48fa830 100644 --- a/guides/ubuntu/pages/mongodb-install.md +++ b/guides/ubuntu/pages/mongodb-install.md @@ -158,6 +158,8 @@ security: ```bash mongo -u admin -p --authenticationDatabase admin +# or if you didn't secure MongoDB, run the following command: +mongo ``` This will ask you for the password that you set earlier in the Securing MongoDB section.