Enabling or Disabling Automatic Login

When you start your Ubuntu system, it presents a login screen. On it, you need to authenticate with your login password. This is a handy feature for keeping unauthorized users away from your system. However, in some cases it can cause unnecessary delay. For example, your system is physically accessed only by you, or you are the only person who uses the system. In such a situation, typing your username and password each time you start the system causes an unnecessary delay. In that case, you can enable automatic login.

Once you enable automatic login, the system will not present the login screen. It will automatically log in to the user account you enable automatic login for. It will not ask you to enter your username and password. This feature is good only if this system is physically accessed only by you. Anyone with physical access to this system can access the data stored on it. It creates a huge security risk. Instead of permanently enabling this feature, you can enable it as required. You can enable it when you need it and disable it when you do not. In this tutorial, I will explain the steps to enable and disable the automatic login feature.

Enabling automatic login

Log in with your username and password.

Login with the username and password

Open Settings.

Settings

Click System in the left pane, then Users in the right pane.

Users settings

Click Unlock in the top bar.

The Unlock option

Enter your password to complete the authentication.

complete the authentication

Toggle the button next to the Automatic login option.

Automatic login option

Reboot the system to verify that automatic login is enabled.

Reboot the system

If the boot process ends with the Desktop screen, it verifies that the automatic login feature is enabled.

Login screen

Steps to disable automatic login

Start the system

Login screen

Open Settings.

Settings

Click System in the left pane, then Users in the right pane.

Users settings

Click Unlock in the top bar.

The Unlock option

Enter your password to complete the authentication.

complete the authentication

Toggle the button next to the Automatic login option.

Automatic login option

Reboot the system to verify that automatic login is disabled.

Reboot the system

If the boot process ends with the login screen, it verifies that the automatic login feature is disabled.

Login with the username and password

Enabling or disabling automatic login on RHEL

The following tutorial explains how this process works on RHEL Linux.

How to Enable Automatic Login on Linux

Conclusion

In this tutorial, I explained how to enable or disable automatic login on Ubuntu. If you enable this feature, the system logs you in without presenting the login screen. If you ever need to disable this feature, you can revert the process by following the same steps. This is provided and managed by the Desktop environment. It will work only on the Desktop edition of Ubuntu.

ComputerNetworkingNotes Ubuntu Tutorials Enabling or Disabling Automatic Login

We do not accept any kind of Guest Post. Except Guest post submission, for any other query (such as adverting opportunity, product advertisement, feedback, suggestion, error reporting and technical issue) or simply just say to hello mail us ComputerNetworkingNotes@gmail.com