Skip site navigation (1)Skip section navigation (2)
Date:      04 Dec 2000 12:04:11 +0100
From:      Dmitry Karasik <dk@plab.ku.dk>
To:        freebsd-questions@freebsd.org
Subject:   Re: NGROUPS_MAX in sys/syslimits.h
Message-ID:  <u7l5gxxas.fsf@plab.ku.dk>
In-Reply-To: Mike Meyer's message of "Mon, 4 Dec 2000 02:56:16 -0600 (CST)"
References:  <14891.23600.60352.296277@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
	Hi Mike!

On 04 Dec 00 at 02:56, "Mike" (Mike Meyer) wrote:

 Mike> Dmitry Karasik <dk@plab.ku.dk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u7l5gxxas.fsf>