{
	"id": "f356b714-bc88-4b59-a274-2ed9b887ba9d",
	"created_at": "2026-04-06T00:20:13.055539Z",
	"updated_at": "2026-04-10T03:20:01.369245Z",
	"deleted_at": null,
	"sha1_hash": "f0050ff0657d910db8c8d36d186776755d0232ec",
	"title": "How to Hide All The User Accounts in Ubuntu 20.04, 21.04 Login Screen",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 186735,
	"plain_text": "How to Hide All The User Accounts in Ubuntu 20.04, 21.04 Login\r\nScreen\r\nBy Ji m\r\nPublished: 2026-04-05 · Archived: 2026-04-05 19:53:22 UTC\r\nUbuntu lists all the available user accounts in the GDM login screen. You can however remove them to protect\r\nyour privacy.\r\nGnome, the default desktop environment, has a hidden option to force users to type the username and then\r\npassword to login. If you’re working on public places, it will be good to enable this option for privacy concern.\r\nhttps://ubuntuhandbook.org/index.php/2021/06/hide-user-accounts-ubuntu-20-04-login-screen/\r\nPage 1 of 3\n\n1.) Firstly open terminal either from system app launcher or by pressing Ctrl+Alt+T on keyboard. Because the\r\nlogin screen is handled by gdm , you have to firstly run command to allows it to make connections to X server.\r\nxhost SI:localuser:gdm\r\nThough it says for X, you also need to run the command in Wayland session to avoid error to disable user list.\r\n2.) Now run gsettings command to disable user list via user gdm:\r\nsudo -u gdm gsettings set org.gnome.login-screen disable-user-list true\r\nType user password, no asterisk feedback, for sudo prompt and hit Enter.\r\nIn next boot, you will no longer see the user accounts. Instead, you need to type username and then password to\r\nlogin.\r\nHow to Reset:\r\nTo restore the login screen setting, also run both xhost and gsettings commands in a terminal window.\r\nTo be lazy, I’ll combine the two commands into single, so it will be:\r\nxhost SI:localuser:gdm \u0026\u0026 sudo -u gdm gsettings reset org.gnome.login-screen disable-user-list\r\nhttps://ubuntuhandbook.org/index.php/2021/06/hide-user-accounts-ubuntu-20-04-login-screen/\r\nPage 2 of 3\n\nIn addition for more Login Screen settings, e.g, disable ‘Power Off’ menu option, toggle authentications, you can\r\nopen Dconf Editor ( install it first from Ubuntu Software ) via user gdm:\r\nxhost SI:localuser:gdm \u0026\u0026 sudo -u gdm dconf-editor\r\nSource: https://ubuntuhandbook.org/index.php/2021/06/hide-user-accounts-ubuntu-20-04-login-screen/\r\nhttps://ubuntuhandbook.org/index.php/2021/06/hide-user-accounts-ubuntu-20-04-login-screen/\r\nPage 3 of 3",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://ubuntuhandbook.org/index.php/2021/06/hide-user-accounts-ubuntu-20-04-login-screen/"
	],
	"report_names": [
		"hide-user-accounts-ubuntu-20-04-login-screen"
	],
	"threat_actors": [],
	"ts_created_at": 1775434813,
	"ts_updated_at": 1775791201,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/f0050ff0657d910db8c8d36d186776755d0232ec.pdf",
		"text": "https://archive.orkl.eu/f0050ff0657d910db8c8d36d186776755d0232ec.txt",
		"img": "https://archive.orkl.eu/f0050ff0657d910db8c8d36d186776755d0232ec.jpg"
	}
}