Make user logged in after created by rule I have an entityform on my Drupal website, which helps me to generate leads. I've configured a rule, creates a new user by that entityform's e-mail and name fields. (Similar scenario is told here.)

I need that user (created by rule) to be logged in, after creation. What should I do?
Have a look at the Logintoboggan module. This offers you to login new users immediately.

The LoginToboggan module offers several modifications of the Drupal login system in an external module by offering the following features and usability improvements:

1.Allow users to login using either their username OR their e-mail address.

2.Allow users to login immediately.

3.Provide a login form on Access Denied pages for non-logged-in (anonymous) users.

4.The module provides two login block options: One uses JavaScript to display the form within the block immediately upon clicking "log in". The other brings the user to a 
separate page, but returns the user to their original page upon login.

5.Customize the registration form with two e-mail fields to ensure accuracy.

6.Optionally redirect the user to a specific page when using the 'immediate login' feature.

7.Optionally redirect the user to a specific page upon validation of their e-mail address.

8.Optionally display a user message indicating a successful login.

9.Optionally combine both the login and registration form on one page.

10.Optionally have unvalidated users purged from the system at a pre-defined interval 
(please read the CAVEATS section of INSTALL.txt for important information on 12.configuring this feature!).

11.Integrates with Rules module to do various tasks when a user validates via email validation process (see http://drupal.org/node/880904 for an example)