> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Enable or Disable Automatic Login in Ubuntu
- URL: https://itsfoss.com/ubuntu-automatic-logon/
- Published: 2019-10-06T18:52:03.000Z
- Updated: 2024-09-10T06:34:45.000Z
- Description: This quick beginner tip shows you how to enable or disable automatic login in Ubuntu.
- Author: Abhishek Prakash
- Tags: Ubuntu

When you install [Ubuntu](https://ubuntu.com/?ref=itsfoss.com), you are provided with the option to choose whether or not you want to use a password to log in to the system. If you think you made the wrong choice at that time, you can change it at any time.

![](https://itsfoss.com/content/images/2024/09/old-installer-settings-auto-login-2.png)

![](https://itsfoss.com/content/images/2024/09/new-installer-settings-auto-login-2.png)

Old and new installer auto-login setting in Ubuntu. Disable the button for auto-login. (Click to enlarge)

In this quick beginner tip for Ubuntu users, I’ll explain the steps to enable or disable automatic login in Ubuntu 18.04 and higher versions that use [GNOME desktop](https://www.gnome.org/?ref=itsfoss.com).

You may watch this video to see the steps in action, or simply follow the rest of the tutorial.

[Subscribe to our YouTube channel for more Linux videos](https://www.youtube.com/c/itsfoss?sub%5Fconfirmation=1&ref=itsfoss.com)

## Enable automatic login in Ubuntu

First, press the super key (the Windows key) on your keyboard. This will bring the GNOME Activities area. Start typing *settings* and you’ll see the settings application. Click on it.

![Search for Settings in Ubuntu activities overview and open the Settings application using the enter key or clicking on it.](https://itsfoss.com/content/images/2024/09/search-and-open-settings.png)

Open Settings

In the Settings, go to the bottom and look for System in the left sidebar and then select Users.

![Click on System in the GNOME settings sidebar. Here, click on the Users section.](https://itsfoss.com/content/images/2024/09/click-on-system-and-go-to-users.png)

Go to ****Users**

📋

If you are using Ubuntu 22.04, the ***Users** option is directly available in the system settings.

Here, you should see all the users available on your system. Click on the desired user and then click the unlock option.

![Click on a desired user and click on the Unlock button.](https://itsfoss.com/content/images/2024/09/select-a-user-and-click-on-unlock.png)

Select user and unlock

You’ll have to enter your own account’s password:

![Enter the password and click on the Authenticate button](https://itsfoss.com/content/images/2024/09/give-the-password-when-asked.png)

Enter Password

Now, you should be able to toggle the ‘Automatic Login’ button to enable automatic login in Ubuntu.

![Enable the Automatic login toggle button.](https://itsfoss.com/content/images/2024/09/toggle-auto-login-button.png)

Enable Automatic Login

## Disable automatic login in Ubuntu

You can disable automatic login the same way. You go to the Settings → System → Users and then unlock it with your password and toggle the Automatic Login button off. That’s it.

![Disable automatic login in Ubuntu using system settings](https://itsfoss.com/content/images/2024/09/disable-automatic-login.png)

Disable Automatic Login

## Why you should avoid using automatic login in Ubuntu?

If you take my suggestion, avoid using automatic login. There are several reasons for that. The first reason is that it makes your computer less secure. And if you use Ubuntu irregularly, you may forget your password. Now [resetting Ubuntu password](https://itsfoss.com/how-to-hack-ubuntu-password/) is not a complicated task, but it’s an additional pain nonetheless.

In addition to that, you’ll encounter the famous [keyring issue in Ubuntu](https://itsfoss.com/ubuntu-keyring/). You might be irked by an “unlock keyring” popup from time to time, and you’ll have to enter the password anyway.

Either way, it’s your choice if you want to use auto login in Ubuntu or not. I showed you both ways to deal with it.

What do you prefer? Do you use automatic login in Linux or not?