I am using mongoDB Cluster with version 3.4 in google cloud compute engine, actually past week my database got attacked by hackers that\'s why i thought about using authorizatio
edit vim /lib/systemd/system/mongod.service
vim /lib/systemd/system/mongod.service
remove --auth restart #ExecStart=/usr/bin/mongod --quiet --auth --config /etc/mongod.conf ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf use admin db.createUser({user:"RootAdmin",pwd:"blahblah",roles:["root"]})