Subject: Re: 30000 users?
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: port-i386
Date: 02/28/1997 07:44:56
In Message <199702281201.OAA09282@pyy.jmp.fi> ,
   Jukka Marin <jmarin@pyy.jmp.fi> wrote:

=>Does anyone have any experience of how NetBSD behaves if there are
=>about 30000 accounts on one machine?  We need a system with 30000+
=>accounts on it (the users won't log on, but they will receive e-mail
=>into their mail boxes and read it using POP3).
=>
=>How well do the passwd routines survive a load like this?  What is
=>the maximum UID - is it 32767 or 65535?  If 32767, it's probably too
=>low.. :-I
=>
=>Yeah, I'm involved in all kinds of weird and sick things :-I
=>
=>Thanks,
=>
=>  -jm
=>

   Gave it a shot:

test::1048576:32766::0:0:Just Testing:/tmp

   That generates the following message when I try to save it:

pwd_mkdb: 1048576 > max uid value (65535)
pwd_mkdb: at line #12
pwd_mkdb: /etc/ptmp: Inappropriate file type or format

   And types.h says:

typedef u_int32_t       uid_t;          /* user id */

                                      Gary D. Duzan
                         Humble Practitioner of the Computing Arts