[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux 2.4 and UID > 65535
> It sounds like a built in thing with ps, not a kernel issue.
Actually, it turns out it is a kernel issue. My .config file has:
CONFIG_UID16=y
I tried looking for an option in make menuconfig for 32bit UIDs, but no
luck. I also tried commenting it out and that didn't work either. I also
tried adding CONFIG_UID32=y and of course no dice.
I'm getting these kind of errors:
arch/i386/kernel/kernel.o(.data+0x98): undefined reference to
`sys_lchown16'
arch/i386/kernel/kernel.o(.data+0xb4): undefined reference to
`sys_setuid16'
arch/i386/kernel/kernel.o(.data+0xb8): undefined reference to
`sys_getuid16'
arch/i386/kernel/kernel.o(.data+0x110): undefined reference to
`sys_setgid16'
arch/i386/kernel/kernel.o(.data+0x114): undefined reference to
`sys_getgid16'
arch/i386/kernel/kernel.o(.data+0x11c): undefined reference to
`sys_geteuid16'
arch/i386/kernel/kernel.o(.data+0x120): undefined reference to
`sys_getegid16'
> out of curiosity: Why do you need UIDs over 65535? Do you have more
> than 65000 users?
Kinda. When new users are created for mail or web services new UIDs are
created. While old users are deleted their UIDs go unused. We could go
back and "fill in" those users that have canceled, but that would mean a
lot of changes (provisioning, billing system, chowning mail spools, home
directories, etc). We could also go to LDAP or some other directory
service, but again a bunch of changes as opposed to compiling the kernel
a couple of times.
Any other ideas?
Thanks!
Kevin