Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MongoDB password under Ubuntu

$
0
0

After installing MongoDB at Ubuntu14.04, a mongodb deamon starts by user "mongodb" at group "mongodb". When modifying the /etc/mongodb.cfg, I need to restart mongod deamon.

But how may i find the password for this user? I tried to modify the password by using "sudo passwd mongodb" and "su mongodb", but the current user is always ubuntu and there is no "authentication failure" exception.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>