From owner-freebsd-questions Mon Dec 4 3: 4:26 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 4 03:04:24 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from plab.ku.dk (plab.ku.dk [130.225.105.65]) by hub.freebsd.org (Postfix) with ESMTP id 48A7B37B400 for ; Mon, 4 Dec 2000 03:04:23 -0800 (PST) Received: (from root@localhost) by plab.ku.dk (8.11.0/8.9.3) id eB4B4MZ46740 for freebsd-questions@freebsd.org.AVP; Mon, 4 Dec 2000 12:04:22 +0100 (CET) (envelope-from postmaster@plab.ku.dk) Received: from raven.plab.ku.dk (raven.plab.ku.dk [130.225.105.67]) by plab.ku.dk (8.11.0/8.9.3) with ESMTP id eB4B4L646732 for ; Mon, 4 Dec 2000 12:04:22 +0100 (CET) (envelope-from postmaster@plab.ku.dk) In-Reply-To: Mike Meyer's message of "Mon, 4 Dec 2000 02:56:16 -0600 (CST)" Subject: Re: NGROUPS_MAX in sys/syslimits.h Content-Transfer-Encoding: 8bit References: <14891.23600.60352.296277@guru.mired.org> To: freebsd-questions@freebsd.org From: Dmitry Karasik X-Comment-To: Mike Meyer Content-Type: text/plain; charset="koi8-r" Lines: 29 Mime-Version: 1.0 Date: 04 Dec 2000 12:04:11 +0100 X-Mailer: Mail::Mailer[v1.18] Net::SMTP[v2.13] Message-Id: Sender: postmaster@plab.ku.dk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Mike! On 04 Dec 00 at 02:56, "Mike" (Mike Meyer) wrote: Mike> Dmitry Karasik types: >> I recently found myself in "too many groups", as LIBC complains; I >> found that somehow that if I present in more than in 16 groups ( what >> is exactly that value of NGROUPS_MAX in sys/syslimits.h), I run into >> problems. Well, first thing that popped out was to recompile LIBC, and >> maybe I'll do that (later), but I'm just curious - how come that 16 is >> a limit? Didn't anyone before run into this "implementation flaw"? Or, >> maybe, there exists some better solution? Mike> Which begs the question - why do you need so many groups? There may Mike> be a better solution to the problem that's causing that than kernel Mike> groups. 21 is not many - but of course, it depends what are you conting :) But you might be right. My problem is that I want to secure users' homes by chmod 750, but as they often need my help with their files, I just want to be in every group they are in. Our current configuration is that every user possesses a group with same name. -- Sincerely, Dmitry --- www.karasik.eu.org --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message