Categories
MongoDB Open Source Solutions Web

Creating users in MongoDB


Creating users in MongoDB is as simple as running the following commands:

use db_name;
db.createUser({
user: "user_name",
pwd: "password",
roles: [ "readWrite", "dbAdmin" ]
})

Here:

  • db_name : Database Name
  • user_name: Username of the user
  • password: Password of the user
  • roles: Roles of the user – Is an array and can be empty
    • Eg. readWrite, dbAdmin, clusterAdmin, readAnyDatabase
Categories
Linux Media Open Source

Managing Collections with Tellico

Tellico
Image by *Luana* via Flickr

Tellico is a versatile collection manager for Linux. The KDE based application is designed to handle almost any type of perceivable collection and convert it to a easily manageable solution. If you have a huge collection of movies, music, books, comics ect and regularly lend them out, Tellico is the perfect program to keep track of your collections.

Tellico has pre-designed support for collections of: Books, Comics, Movies, Music, Coins, Stamps, Board Games, Wines. Cards and Games. The databases are designed to make data entry and search both relevant and easy.