RE: Max UID's on RHEL 3



The following is nothing more than a guess and speculation :

<speculation type="mine">

It may be a throw back to the days when an int was 16 bit and userid's
were an unsigned int in the kernel (65535 being your largest uid). I
seem to recall an annoyance/bug in the NeXT OS in which the userid was
defined as a signed int so the max uid was 32767, and nfs'ing between
NeXT and Sun could be
problematic if you had a userid of 44569, but I digress.

If this is in fact nothing more than a throw back, and uid in the linux
kernel is now a long or unsigned long, then you will
be able to have userid's up to 2^31 -1 or 2^32 -1. Im too lazy to
look, maybe someone else knows.

</speculation>

Other than that, I have no idea :-).

Wayner


Esquivelv@xxxxxxx 07/04/06 12:13 pm >>>
I think I might have found the answer on my own, I tested my RHEL 3
server and I was able to increase the UID_MAX to almost any number I
wanted and I was able to create accounts. The server kept on
automatically assigning UID's to the accounts and I was able to login
with the accounts just fine. I got all the way up to like 12345678901
as a uid and it allowed me to assign it.

Anyone have any input on this at all good or bad about huge amounts of
accounts on a server?

Thanks all

Vince

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Esquivel,
Vicente
Sent: Monday, July 03, 2006 10:57 PM
To: General Red Hat Linux discussion list
Subject: Max UID's on RHEL 3

Hello all,

Is it possible to have more then 60,000 UID's(user accounts)
assigned on a RHEL ES 3.0 system? The systems by default has
a UID_MAX of 60,000 in the login.defs file. Is it possible
to have more, if so how many is the true max? What changes
would I have to make to the system to accept more? I hope
someone can help as this is something we have run into and
need to try to fix promptly. Any advice on this would be
greatly appreciated.

Thanks all in advance

Vince
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • RE: Max UIDs on RHEL 3
    ... userid's were an unsigned int in the kernel (65535 being your ... largest uid). ... RHEL 3 server and I was able to increase the UID_MAX to ... almost any number I wanted and I was able to create accounts. ...
    (RedHat)
  • Re: is there a way to copy over just a user account?
    ... > between the systems, user name, uid and gid. ... > Mac OS X user accounts seem to start at 501. ... owned by your uid that are not in your home directory. ...
    (comp.sys.mac.system)
  • Re: is there a way to copy over just a user account?
    ... >> The uid and gid numbers are ranging from 0 ... >> Mac OS X user accounts seem to start at 501. ... > files are determined by uid, so each user should have a single ...
    (comp.sys.mac.system)
  • Re: Moonfish & Mandriva Linux
    ... with uid 0, and my non-root login, with a uid of 1000. ... I was logged in as root. ... I noticed that both accounts have a gid ...
    (comp.sys.acorn.networking)
  • Re: "Normal" home directory and UID for useradd ?
    ... I know of many companies that chop up UID space into ... If you have multiple systems, and user accounts have to have ...
    (comp.unix.solaris)