[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: max number of groups 32?



On Thu, Sep 07, 2000 at 09:48:15AM +0300, Madarasz Karoly (mkaroly@SoftHome.net) wrote:
> Hello!
> 
> I try to add users to groups with adduser, and usermod complains about
> max number of groups, which is 32, so I can't add a user to more than
> 32 groups.
> 
> Is there a limitation to 32 of maximum number of groups that a user
> can be a member?  If it is, can be changed to 64?

Yes, for historical reasons.  Though my information is largely by
legend.  See for example the getgroups (2) command.  I'm not sure where
the limitation comes from and/or whether it's part of the kernel or the
C libraries themselves.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpe69s9ycK3M.pgp
Description: PGP signature


Reply to: