At 12:29 PM 1/3/01 -0800, Chuck Carson wrote:
>
>Is it possible under the 2.2.x kernels to support greater than 2^16 UID's?
>If so, is it a patch or entirely new kernel we need to look at?

This seems sort of like 3 different questions (one in subject, two others
in body) to me, so here goes. I apologize if two or more of these answers
are useless to you.

1. Can you support more than 2^16 UID's under Kernel 2.2?
Yes, but you need to patch both the kernel and a large amount of user-space
software to make it work. AFAIK there is no pre-fab patch available for the
kernel, but a competent C programmer should be able to do it for you in a
reasonably short period of time, based on the 2.4 pre-release kernel.
Updated user space programs should already be available to a large extent,
since Kernel 2.4 supports more UIDs.

2. Can you support more than 2^16 UID's under Redhat 6.2?
Easy, install the Kernel 2.4 prerelease and update all the packages you
need to from the RH7 and Rawhide distributions (AFAICT you will need a
couple from Rawhide in order to satisfy minimum version requirements, but
you shouldn't need to compile anything yourself).

3. What am I looking at here in terms of work/alterations?

- You're going to need a new kernel. Whether this is a patched 2.2 or a 2.4
us your call, either way you will have to boot a new kernel, it is not
practical to do this as a module.

- If you want to assign disk quotas for uid's well beyond 2^16 you will
need the large filesystem patch as well, to handle >2gb files (RH's kernel
2.4, possibly all kernel 2.4's solve this). If you're using ext3 make sure
it supports 32bit UID's (I don't, so I couldn't tell you, but for a
big/busy mail server ext3 on hardware RAID is probably the only rational
way to go).

- Make sure you're not doing NFS mounts to/from systems with 16bit UIDs.

- Check your important user-space programs (i.e. your mail server daemons)
to see if they correctly read 32bit UIDs. If not, get/produce updates
(thankfully most already store UID as an int, which is usually 32bit on an
x86 machine, so if you're running an x86 typically the only patching you
need to do is make sure the 32bit UID is read correctly).
--

Q:      What's tiny and yellow and very, very, dangerous?
A:      A canary with the super-user password.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to