Comment:
vim /etc/mongod.conf
#security:
#security:
# authorization: enabled
/etc/init.d/mongod restart
# mongo
> use admin
switched to db admin
> db.changeUserPassword("root", "wbqAz6zYT0")
> exit
Uncomment:
vim /etc/mongod.conf
#security:
security:
authorization: enabled
/etc/init.d/mongod restart