0

I have a few users in my system which I only use for specific applications, but I never want to log in as these users from the login screen. I would like to keep the users, but remove them from the list. Alternatively, setting myself as the default login user would also work. How do I achieve this?

I've tried creating a file for the user in /var/lib/AccountsService/users/EWF (EWF is the user I want to hide) with the following contents:

[User]  
Language=   
XSession=gnome  
SystemAccount=true

But the file just gets deleted after I restart, and the user still appears in the login list.

I've also tried adding the following section in /etc/gdm3/custom.conf

[Greeter]
Exclude=user1,user2,nobody

but that didn't help either.

Zoltán
  • 826

0 Answers0