UID_MAX too small?

Asked by Jan Kurella

With the update to 13.10 Ubuntu could not handle large UIDs properly anymore (not listing on unity start screen, not showing in User manager)
In some companies it is necessary to have certain user IDs (often bound to access rights…)
It took me awhile to find the file /etc/login.defs where the UID_MAX parameter is stored.
The problem remains in 14.04

Can we solve this somehow? is there a good reason to limit UIDs per default to 60,000? I assume they are uint32_t anyway so why not 4,000,000 by default?

Or at least adapt the value during update/ start if a user with such a big uid is present

Jan

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Jan Kurella (kurellajunior) said :
#2

You say, the UID_MAX parameter should not affect the login screen user selection?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

There was already a discussion like that going on 6 years ago. https://bugs.launchpad.net/ubuntu/+source/system-tools-backends/+bug/303997 I am a bit astonished that you now say that this is still a problem.

Revision history for this message
Jan Kurella (kurellajunior) said :
#4

I'm fine with filing a bug, but I do not know what is the desired behaviour – hence what is the bug.
The default [GU]ID_MAX of 60000 or the misbehaviour when the UID is actually bigger than the defined [GU]ID_MAX.

For the case, that if [GU]ID_MAX is set big enough the user settings UI is misbehaving I created a bug
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1290785 (linked)

Revision history for this message
Jan Kurella (kurellajunior) said :
#5

Can you help with this problem?

Provide an answer of your own, or ask Jan Kurella for more information if necessary.

To post a message you must log in.