Before enabling authentication in MongoDB, we'll have to create a user and assign it a built-in role. We'll use the built-in "root" role that provides admin access to all databases.
I've done this in Ubuntu using MongoDB 3.2.
GoAccess: Visualize Your Web Traffic
5 days ago