0

I am wondering if it is possible to disable password for the login screen, while keeping it for everything else (e.g. for sudo, for ssh etc).

Idea being that if someone has access to my physical machine, I am already fairly screwed. They can just start another OS, or physically remove the hard-drive. I am not entirely convinced this holds, but I am wondering if it is technically possible.

I am using Ubuntu 21.04, currently with GNOME

1 Answers1

0

You can enable this in the Gnome settings, under Users.

It is the setting called "Automatic Login"
You need to unlock to be able to enable/disable it.

If with that enabled it still requires a password, you are likely being hit by an issue related to the login screen using Wayland rather than Xorg.
See this QA about how to fix that. (This issue remains a problem as of Ubuntu 20, in 2021)

screenshot of user settings page, automatic login and unlock are circled