Looks like the upstream accounts-daemon devs added a feature which makes the daemon look in /etc/login.defs for UID_MAX, and it won't try to look at UIDs higher than that.
Setting that to a lower value fixes things for me, so we can consider this issue closed. ** Changed in: accountsservice (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1257054 Title: accounts-daemon causes lightdm to hang when there's lots of entries in /etc/passwd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1257054/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs