For this purpose, you can set up OS X to automatically log in a user on startup. Follow the steps given below to enable automatic login for a user:

  1. Open up “System Preferences” from the Apple Menu.

  2. Select “Users & Groups.”

  3. Click on the Lock icon in the lower-left corner. Enter your password when prompted.

  4. Click on “Login Options.”

  5. From the Automatic Login drop-down menu, you can select the user you want to log in automatically when you boot up the system. If you have a system set up for presentation or media center services, you may want the same app to start up when you fire up your Mac. If that’s the case, follow the steps below:

  6. Navigate to “System Preferences -> Users & Groups”. Click the Lock icon to make changes.

  7. Select the user account which you’ve set up to log in automatically.

  8. In the “Login Items” tab, select the app(s) you want to start automatically when the system is turned on.

Remember to use Automatic Login responsibly, as it will give anyone who has physical access to the system entry to the machine’s contents. Passwords will still be required to log in to the system through network services like file-sharing and remote log-in through SSH and other Terminal services. You can also disable Automatic Login by simply navigating to “System Preferences -> Users & Groups -> Login Options” and select “Off” from the Automatic Login drop-down list.