O Ubuntu usa o lightdm em vez do gdm por padrão agora, então você precisa editar a configuração do lightdm. Aqui está o padrão /etc/lightdm/users.conf :
# # User accounts configuration # # NOTE: If you have AccountsService installed on your system, then LightDM will # use this instead and these settings will be ignored # # minimum-uid = Minimum UID required to be shown in greeter # hidden-users = Users that are not shown to the user # hidden-shells = Shells that indicate a user cannot login # [UserAccounts] minimum-uid=500 hidden-users=nobody nobody4 noaccess hidden-shells=/bin/false /usr/sbin/nologin
Anexe os usuários que você deseja ocultar à hidden-users= -line.