Max UID's on RHEL 3
Wayne Pinette
Wpinette at tru.ca
Tue Jul 4 19:23:16 UTC 2006
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 at uhd.edu 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 at redhat.com
> [mailto:redhat-list-bounces at redhat.com] 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 at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list