User accounts with id higher than 60000 are not shown in Trusty

Bug #1343261 reported by Margarita Manterola
12
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.

Revision history for this message
Margarita Manterola (marga-9) wrote :

Re-uploading the patch, there was a typo in the changelog.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hi Margarita,

Thanks for your work with this. However, the change is already about to be backported to trusty via bug 1290785, so I just mark this bug report as a duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.