> But the more that are affected the more I think then general solution in lightdm would be the right thing to do.
Yes, that's my interpretation too -- and it was my impression from the beginning, with your report/analysis, as I couldn't find anything we were doing wrong with the useradd of a system account, and specially due to this documentation statement (comment #7):
> [...] filters out those with UID values which are below a threshold point to screen out system users [...]
Which does not cover the possible conditions for a system user (man 8 useradd):
-r, --system
Create a system account.
System users will be created with no aging information in /etc/shadow, and their
numeric identifiers are chosen in the SYS_UID_MIN-SYS_UID_MAX range, defined in /etc/login.defs, instead of UID_MIN-UID_MAX (and their GID counterparts for the
creation of groups).
Note that useradd will not create a home directory for such an user, regardless of the
default setting in /etc/login.defs (CREATE_HOME). You have to specify the -m options
if you want a home directory for a system account to be created.
Christian,
Thanks for handling this.
> But the more that are affected the more I think then general solution in lightdm would be the right thing to do.
Yes, that's my interpretation too -- and it was my impression from the beginning, with your report/analysis, as I couldn't find anything we were doing wrong with the useradd of a system account, and specially due to this documentation statement (comment #7):
> [...] filters out those with UID values which are below a threshold point to screen out system users [...]
Which does not cover the possible conditions for a system user (man 8 useradd):
-r, --system
Create a system account.
System users will be created with no aging information in /etc/shadow, and their MIN-SYS_ UID_MAX range, defined in
/etc/ login.defs, instead of UID_MIN-UID_MAX (and their GID counterparts for the
numeric identifiers are chosen in the SYS_UID_
creation of groups).
Note that useradd will not create a home directory for such an user, regardless of the
default setting in /etc/login.defs (CREATE_HOME). You have to specify the -m options
if you want a home directory for a system account to be created.