From owner-freebsd-questions Thu Sep 16 22:36: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finland.ispro.net.tr (finland.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (Postfix) with ESMTP id 3B06014BCC for ; Thu, 16 Sep 1999 22:35:53 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr (c14pc16.dc.turkuamk.fi [193.166.135.241]) by finland.ispro.net.tr (8.9.3/8.9.3) with ESMTP id IAA52802; Fri, 17 Sep 1999 08:35:28 +0300 (EEST) (envelope-from yurtesen@ispro.net.tr) Message-ID: <37E1FD9A.AE82A90@ispro.net.tr> Date: Fri, 17 Sep 1999 08:36:42 +0000 From: Evren Yurtesen X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.3-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: Christopher Michaels Cc: "'Hisako Majima'" , freebsd-questions@FreeBSD.ORG Subject: MAX GID number 2 References: <6C37EE640B78D2118D2F00A0C90FCB4401105C6D@site2s1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have asked same kind of question to the list too, but mine was about UIDs. I got the same answer about 32bit unsigned integer but there is one limiting factor I believe! The nobody:nogroup is 65533 65534 (or something like that) so there should not be any user after nobody user is not it? For example I created a test user and tried to set the uid and gid to 1000000 and I got this reply (I used chfn) chfn: 1000000 > max uid value (65535) chfn: 1000000 > max gid value (65535) chfn: updating the database... pwd_mkdb: 1000000 > max uid value (65535) pwd_mkdb: 1000000 > max gid value (65535) chfn: done But I logged in with test user and everything was fine.. the only thing was I was not able to create files or dirs in my home directory. then I made chown test:test test and I started to be able to write there (even though before making chown the group and the owner of the dir was the test user and test group I could not try the quota since I do not have quotas enabled here... But there are some programs which does not support bigger UIDs then 65535 for sure! Evren Christopher Michaels wrote: > Hisako, > hehehe, sorry for laughing. I'm a little amused. My friend asked me the > same question a couple days ago. (I used to go to UB, and he's probably in > your class). > > The only reference I could find was in which defines t_gid as > a 32bit unsigned integer. (Which imples over 4 billion gid and uid's, > 2^32). Minus 1 of course since uid's and gid's start with 0 and not 1. > (2^0 = 1) > > ====> To the rest of the list: > > I would actually like to know the exact answer to this question myself. > Does someone else on the list know if there is another limiting factor? > > I did search the mailing list archives and didn't find much. I did find a > few messages about UID and that prodded me to look in the sources to find > what I was actually able to find. > > Thanks, > Chris > > > -----Original Message----- > > From: Hisako Majima [SMTP:majima@acsu.buffalo.edu] > > Sent: Wednesday, September 15, 1999 6:07 PM > > To: freebsd-questions@FreeBSD.ORG > > Subject: MAX GID number > > > > Hi, > > > > I have a question. > > what is the largest group id number on BSD/OS? > > Hisako Majima > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message