+ Reply to Thread
Results 1 to 2 of 2

Thread: How to raise the uid and gid limits?

  1. #1
    Kevin1981 is offline Registered User Achievements:
    31 days registeredTagger Second Class100 Experience Points500 Experience Points
    Kevin1981 ?????????
    Join Date
    2009-10-24
    Posts
    13

    Default How to raise the uid and gid limits?

    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.

  2. #2
    joseph's Avatar
    joseph is offline Website Master Achievements:
    500 Experience Points1000 Experience Points5000 Experience Points10000 Experience PointsRecommendation Second Class
    joseph has disabled reputation
    Join Date
    2008-09-08
    Posts
    412

    Default

    Here's a nice post that meets your question quite well:
    Raising the uid and gid limits?

    uid_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.
    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,000

+ Reply to Thread

Similar Threads

  1. Fwd: Monitoring MySQL resource limits
    By FeedReader in forum Databases
    Replies: 0
    Last Post: 2009-10-28, 03:47 AM
  2. LWN: Tomboy, Gnote, and the limits of forks
    By edenCC in forum Technology News
    Replies: 0
    Last Post: 2009-05-01, 10:30 PM
  3. Replies: 0
    Last Post: 2009-04-27, 09:26 AM
  4. Replies: 0
    Last Post: 2009-04-27, 07:09 AM
  5. LXer: Doctors Raise Doubts on Digital Health Data
    By edenCC in forum Technology News
    Replies: 0
    Last Post: 2009-03-27, 07:02 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts