Subject: Re: userid & group id
To: None <wonko@madness.tmok.com>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: port-i386
Date: 04/06/1997 11:01:13
> just did a little testing to see what my machines will do about this.
> 
> Linux: wraps around, uid of 70000 wraps to 4xxx (don't remember exactly) so
> linux doesn't check to see if this happens.  that isn't so good.  the other
> news is that linux does support 65535 users.
> 
> Solaris 2.5.1: UIDs over 65535 are just fine, UID 70000 is a vaild UID.  so 
> Solaris does in fact use 32bit UID's.  cool.
> 
> just our of curiosity, anyone know what NetBSD does about this??

NetBSD whines if you try to use UID or GID greater than USHRT_MAX (see
passwd.c in libutil).  I don't know if these checks could simply be removed
or if there's code than expects UID and GID to fit in a 16-bit int somewhere.

  -jm


-- 

                       1503 kHz @ 21:30 EET DST Mon-Fri

                     ---> http://www.jmp.fi/~jmarin/ <---