#759360 accountsservice does not hide users bellow UID_MIN anymore

Package:
accountsservice
Source:
accountsservice
Description:
query and manipulate user account information
Submitter:
أحمد المحمودي
Date:
2017-12-27 12:03:04 UTC
Severity:
normal
#759360#5
Date:
2014-08-26 17:48:17 UTC
From:
To:
Dear Maintainer,


  Hello, I tried the following methods to hide a specific user from appearing GDM3 user list:
1) adding Exclude=user in /etc/gdm3/daemon.conf
2) adding Include=<other users> in /etc/gdm3/daemon.conf
3) setting UID_MIN to a value greater than the uid of the user that I want to hide

none of those worked, although the last method did work for me when I
was using GNOME 3.10 on Ubuntu 14.04.

Note: I asked on #gdm IRC channel at GIMPNet, and Josselin Mouette
suggested that it might be caused by a bug in accountsservice.

#759360#10
Date:
2014-09-07 05:59:48 UTC
From:
To:
Hi,

this is just a "me too" mail.

Last week I have installed new laptop with current testing/jessie with
systemd and GNOME desktop 3.12.

Following comments in /etc/gdm3/daemon.conf I uncommented:

  [greeter]
  IncludeAll = false
  Include = frank

followed by:

  systemctl stop gdm3
  systemctl start gdm3

But nothing changed - I can still see the other two accounts.


Frank

#759360#15
Date:
2016-05-08 11:33:07 UTC
From:
To:
This problem was already reported for GDM 3.4.1-2+b1 in bug #688741 and is
still present in the final version of Jessie (GDM 3.14). Maybe we should
merge #688741 and #759360 (or close #688741 and continue with #759360).

There's also a bug report in Gnome bug tracker regarding this issue (
https://bugzilla.gnome.org/show_bug.cgi?id=684773)

Looking for a workaround I was able to disable the user list by setting
"disable-user-list=true" in /etc/gdm3/greeter.dconf-defaults, which is fine
for some scenarios but not for my computer at home.

#759360#20
Date:
2016-05-08 13:33:32 UTC
From:
To:
severity 688741 minor
close 688741 3.19.92-1
retitle 759360 accountsservice does not hide users bellow UID_MIN anymore
reassign 759360 accountsservice 0.6.37-1
affects 759360 gdm3
thanks

On Sun, 8 May 2016 13:33:07 +0200 Rafael Varela Pet  <rafael.varela@gmail.com> wrote:
 > This problem was already reported for GDM 3.4.1-2+b1 in bug #688741
and is
 > still present in the final version of Jessie (GDM 3.14). Maybe we should
 > merge #688741 and #759360 (or close #688741 and continue with #759360).
 >
 > There's also a bug report in Gnome bug tracker regarding this issue (
 > https://bugzilla.gnome.org/show_bug.cgi?id=684773)
 >
 > Looking for a workaround I was able to disable the user list by setting
 > "disable-user-list=true" in /etc/gdm3/greeter.dconf-defaults, which
is fine
 > for some scenarios but not for my computer at home.

I think there are multiple issues here.

For the gdm part, the IncludeAll/Include/Exclude options are gone (the
code is absent in 3.14).
So IMHO the only bug in gdm3 package here is the fact that a comment in
gdm.conf is wrong, this has been fixed in 3.19.92-1.

For the accountsservice part, the patch that was hiding users bellow
UID_MIN is not applied since 0.6.37-1 (the patch was not applying
cleanly with this newer version and was never ported). I'm reassigning
this to accountsservice.

Cheers,

Laurent Bigonville

#759360#35
Date:
2017-12-27 11:52:51 UTC
From:
To:
Hello,

another me too mail.
reassigning 

Currently, without the aforementioned patch applied the accounts-daemon
uses a hard coded UID_MIN value of 1000. This is really annoying,
because we have regular users ids starting at 500 (the default value
about 20 years ago). Now theses users don't show up in the lightdm
greater.

I strongly propose to change accountsservice to honour the value of
UID_MIN from /etc/login.defs again. I can provide a patch on request.

Kind regards,
  Anselm