Re: User limit

Martin Neumann (mne@denise.westfalen.de)
Thu, 6 May 1999 06:37:53 +0000 (/etc/localtime)


Roberto Carlos Navas <rcnavas@telemovil.com> wrote:

> I'm trying to create more than 64K user accounts on a Linux Intel box, but i
> already know that it can't be done, so my only hope right now is that Alpha
> or Sparc Linux does support more than 64K users... is that true?

That would have been easy to find out - you've got the source ..

% find ./ -name '*.h'|xargs grep kernel_uid_t
./include/linux/types.h:typedef __kernel_uid_t uid_t;
./include/asm-i386/posix_types.h:typedef unsigned short __kernel_uid_t;
./include/asm-mips/posix_types.h:typedef long __kernel_uid_t;
./include/asm-alpha/posix_types.h:typedef unsigned int __kernel_uid_t;
./include/asm-m68k/posix_types.h:typedef unsigned short __kernel_uid_t;
./include/asm-sparc/posix_types.h:typedef unsigned short __kernel_uid_t;
./include/asm-ppc/posix_types.h:typedef unsigned int __kernel_uid_t;
./include/asm-sparc64/posix_types.h:typedef unsigned int __kernel_uid_t;
./include/asm-sparc64/posix_types.h:typedef unsigned short __kernel_uid_t32;
./include/asm-arm/posix_types.h:typedef unsigned short __kernel_uid_t;

>From my understanding, mips, alpha, ppc and sparc64 should have UIDs > 2^16

-- 
mne

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/