dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #17277
[Bug 1290785] Re: Users with UID > 60000 are invisible in login and Settings->User unless /etc/login.defs updated
I have just tried the 0.6.37-1ubuntu5 versions for Utopic and they kinda work as expected.:
- I can see users with UID> 60000
- 'nobody' is not listed anymore
BUT: after some fiddling, one user (with uid 101125) is not shown any
longer in the Lightdm login window (even after reboot), but when I query
the accounts-daemon via dbus the user does show up:
# qdbus --system org.freedesktop.Accounts
/
/org
/org/freedesktop
/org/freedesktop/Accounts
/org/freedesktop/Accounts/User101265
/org/freedesktop/Accounts/User101139
/org/freedesktop/Accounts/User101125
/org/freedesktop/Accounts/User1000
I have previously had the same problem with the normal trusty-Packages
and the raised UID_MAX limit. But back then I didn't investigate, but
just reinstalled.
Is there any other place where usernames are removed from the list shown in lightdm?
Could this be the same problem why Jan does not see his user?
For now I will not touch this system so I can do some further testing.
Some Background info: all users above 100000 are domain users mapped by
winbind. The only difference I can see between the user not showing up
and the others is that the former was added to some local groups. But
removing him from theese groups did not help, so I think it's not
related.
@Robert - thanks for the hints, too bad that such a central component is documented so poorly :-(
I just had to figure out that the accounts-daemon seems to take some time to start up: after the killall only the second qdbus query gives results
- I tried to backport your changes from /debian/patches/0020-support-login.defs.patch in accountsservice_0.6.37-1ubuntu5 to the /debian/patches/2001-filtering_out_users.patch in trustys accountsservice_0.6.35-0ubuntu7 only to find out that this is not used at all. I found the /debian/patches/ directory quite crowded (messy?). Maybe I'll try again tomorrow.
Could you please provide a backport of these patches for trusty? Thanks a lot.
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1290785
Title:
Users with UID > 60000 are invisible in login and Settings->User
unless /etc/login.defs updated
Status in “accountsservice” package in Ubuntu:
Fix Released
Status in “accountsservice” source package in Trusty:
Triaged
Bug description:
[Impact]
Users of Ubuntu 14.04 LTS with UID > 60000 will not show in the greeter or system settings without editing UID_MAX in /etc/login.defs. This was not required in 12.04 LTS. In 12.04 LTS users were only hidden if they had UID < UID_MIN. In 13.10 this was changed to UID < UID_MIN or UID > UID_MAX.
[Test Case]
1. Create a user with a UID > UID_MAX:
$ adduser --uid 60001 big-uid
2. Restart system
Expected result:
"big-uid" is shown in the greeter. Once logged in "big-uid" is shown in system settings.
Observed result:
"big-uid" is not shown in the greeter (14.04 LTS, 14.10)
"big-uid" is not shown in system settings (13.10, 14.04LTS, 14.10)
[Regression Potential]
This could cause users that were previously hidden to be shown. This seems unlikely to be a problem as all system created user accounts are less than UID_MIN and there doesn't seem be a convention to use accounts > UID_MAX for this case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1290785/+subscriptions