Create user for all databases

How to create a user and grant him read-only access for all databases available in mongodb(2.2/2.4/2.6). I am new to mongodb, please provide detail step by step process.

user name: sec.ai

password: test