From owner-freebsd-questions Wed Mar 28 19:11:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0D1C937B71E for ; Wed, 28 Mar 2001 19:11:44 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 39265 invoked by uid 100); 29 Mar 2001 03:11:42 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15042.42990.486060.916319@guru.mired.org> Date: Wed, 28 Mar 2001 21:11:42 -0600 To: Przemyslaw Brojewski Cc: questions@freebsd.org Subject: Re: Are large uids supported? In-Reply-To: <997075@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Przemyslaw Brojewski types: > Hello, > > Man page for adduser(8) sais: > > uid Automatically generated or your choice, must be less then 32000 It seems that adduser is out of date. It does indeed insist that user ids be less than 32000. But uid's are a 32 bit int. I created a user with an id of 1,000,000 and pwd_mkdb said pwd_mkdb: 1000000 > recommended max uid value (65535) A couple of quick tests showed that things worked just fine. > I have to setup a mail server, that supposedly will have rather > large number of users in the near futer. I expect to hit the 32000 limit > in a 2 months or (optimistically) 6 months, and eventually go > 100 000 and more in a year (or one year and a half). But to the point. If it's just a mail server, why are you creating a uid for each user? You just need to arrange to deliver their mail to a mailbox, and let them fetch it from that mailbox with POP or IMAP. Both of those are possible without a uid. Or is that not the situation? http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message