According to Debian policy, limits for UID and GID numbersare a maximum of 65535.
Is there a way of changing this limit? I presume that this would break policy, but I am curious as to how this is assigned, where it can be changed.
According to Debian policy, limits for UID and GID numbersare a maximum of 65535.
Is there a way of changing this limit? I presume that this would break policy, but I am curious as to how this is assigned, where it can be changed.
Here's a nice post that meets your question quite well:
Raising the uid and gid limits?
I don't have more than 65000 users. But I do have a need for large UID numbers. Specifically, I am using winbind with a MS Active Directory, that provides UID's over 1,000,000uid_t is 32 bits at least on i386 so it should work. I think the best way to find out is do some tests. I expect that some tools that list userids (ps, perhaps ls, etc) will have less readable output, adduser and related tools will probably give warnings or fail, etc. Furthermore if you need more than 65000 users on your system you may need something that scales well when username lookups are done.