Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 00:07:18 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Dmitry Mottl <dima@sinp.msu.ru>
Cc:        questions@freebsd.org
Subject:   Re: multiple GID's
Message-ID:  <15365.53398.561929.429717@guru.mired.org>
In-Reply-To: <24597736@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Mottl <dima@sinp.msu.ru> types:
> In how many groups does the user can be?

I could have sworn it was 16, but it seems to be 15. Strange.

> Is there a limit? Where it is hardcoded?

Probably all over the place. Start with NGROUPS_MAX in in
/usr/include/sys/syslimits.h. That's 16, but it only put me in 15.

> Where GID's are stored during user's sessions?

In the kernel ucred structure. Probably other places as well.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?		A: Tell them your plans.

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?15365.53398.561929.429717>