User with uid lower than 1000 showing in GDM user list.
I created a user on my system for a local scanner to use call s2f
when i created it I used the command
useradd -r s2f # to create it as a system account
I can check that user got a uid lower than 1000
[me@mpc ~]$ cat /etc/passwd | grep s2f
s2f:x:990:985::/home/s2f:/bin/bash
but the user shows in GDM user list and in the gui user account editor. UID_MIN
is set to 1000
/etc/login.defs
[me@pc ~]$ cat /etc/login.defs | grep UID_MIN
UID_MIN 1000
SYS_UID_MIN 201
Any one why this is happening?
Try to set SYS_UID_MIN to 999.
I am not suggesting this as a solution but if this is not a real user then also consider setting the login shell to /sbin/nologin. Maybe other atributes are also used to determine whether someone is a real user or a system user
@domg472 Yeah that fixed it, thanks, please repost as an answer.