How many uids and gids are allowed in SCO Xenix?
Rob McMahon
cudcv at warwick.ac.uk
Wed Jul 4 01:23:54 AEST 1990
In article <1990Jun28.165234.23491 at DSI.COM> syd at DSI.COM writes:
>SCO, like most Unix's uses 16 bits for the uid and gid. Thus the upper limit
>is 16 bits. However, when you start to network, you will find some bugs re
>negative uid's in many Unix's so the practical limit is 32767, not 65535 for
>the upper limit.
On the other hand there used to be bugs in assorted utilities with [ug]id's as
low as 2-3000. I can't speak for SCO Unix, and we can't get the source these
days, so I can't see whether they've all been chased down in the systems that
did have these problems.
I've seen `lastcomm' dumping core, `ls' taking forever, and `ps' printing
numbers instead of usernames, because of static uid->username mapping tables
sized at compile-time and indexed by uid. (lastcomm ignored the problem, I
think ls kept one entry cached outside 0-2000, and ps just punted.) I'm sure
this was true in 4.1BSD and SunOS 2.0.
Rob
--
UUCP: ...!mcsun!ukc!warwick!cudcv PHONE: +44 203 523037
JANET: cudcv at uk.ac.warwick INET: cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
More information about the Comp.unix.questions
mailing list