Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424471 - =x11-misc/lightdm-1.2.2-r3 does not respect minimum-uid
Summary: =x11-misc/lightdm-1.2.2-r3 does not respect minimum-uid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 05:11 UTC by Vlad
Modified: 2012-07-19 21:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad 2012-07-02 05:11:21 UTC
lightdm-1.2.2-r3 doesn't respect minimum-uid in /etc/lightdm/users.conf and lists all users even with UID < "minimum-uid". At least version 1.2.2-r1 worked properly and I can't see any major changes in the ebuild, besides setting user for a greeter in /etc/make.conf.

Reproducible: Always

Steps to Reproduce:
1. Install lightdm-1.2.2-r3
2. Set greeter-hide-users to False in lightdm.conf
3. Check if minimum-uid is set to some value

Actual Results:  
In lightdm greeter all the users are presented even if UID is less then the minimum-uid.

Expected Results:  
Only users with UID more or equal then the minimum-uid are listed.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-07-10 10:10:21 UTC
uh, I was pointed out that LightDM is expecting 'Section' [UserList] in /etc/lightdm/users.conf instead of [UserAccounts]

mind duplicating the whole section of [UserAccounts] as [UserList] in /etc/lightdm/lightdm.conf?

although that propably doesn't explain the >= 500

(this Comment is mostly so that I remember myself once I continue this evening)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-10 10:29:32 UTC
Even better, it's ignoring /etc/lightdm/users.conf altogether.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-07-10 10:37:57 UTC
$ head -n 5 data/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

So entire users.conf is NOT used BY DESIGN if accountservice is available

Futhermore Diego pointed out that there is no way to configure accountservice (I'm not that familiar with it, but I'm not suprised as it's GNOME 3.x and Ubuntu component)

So nothing for pam@ to do here, entirely a bug for accountservice & lightdm maintainers

If it used to work previously, that was by some fluke
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-10 10:39:19 UTC
So we recommend:

1) Patching accountservice to respect Gentoo UID's
2) Removing users.conf from lightdm installation to reduce confusion (like this bug)
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2012-07-19 21:55:07 UTC
(In reply to comment #4)
> So we recommend:
> 
> 1) Patching accountservice to respect Gentoo UID's
> 2) Removing users.conf from lightdm installation to reduce confusion (like
> this bug)

users.conf removed in 1.3.2