User accounts with id higher than 60000 are not shown in Trusty
Bug #1343261 reported by
Margarita Manterola
This bug report is a duplicate of:
Bug #1290785: Users with UID > 60000 are invisible in login and Settings->User unless /etc/login.defs updated.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Version: 0.6.35-0ubuntu7
This bug is visible in lightdm, but it's actually a problem in Trusty's accountsservice. The code in user-classify.c forces the user account to be between 1000 and 60000. Any accounts higher than 60000 are considered systems accounts and not shown in lightdm.
In Utopic this is fixed by modifying the code to not take into account any maximum, but rather use the minimum and then filter "nobody" and "nobodynfs".
Editing login.defs is possible but is not enough, because in that case, nobody isn't filtered.
The patch is quite small and can be backported to Trusty without much issue.
To post a comment you must log in.
Re-uploading the patch, there was a typo in the changelog.