All of lore.kernel.org
 help / color / mirror / Atom feed
* How to increase max number of groups per uid ?
@ 2004-07-29 17:31 Stephan von Krawczynski
  2004-07-29 23:34 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Stephan von Krawczynski @ 2004-07-29 17:31 UTC (permalink / raw)
  To: linux-kernel

Hello,

is there a simple way in either 2.4 or 2.6 to get a lot more than 32 groups per
uid?
Imagine a situation with lots of groups (lets assume 5000-10000). It is obvious
that in such a large environment users are commonly members of more than 32
groups.

How can I solve that?
I'd say it should even be possible to be member of all available groups (in
other words completely drop this limit).

Regards,
Stephan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to increase max number of groups per uid ?
  2004-07-29 17:31 How to increase max number of groups per uid ? Stephan von Krawczynski
@ 2004-07-29 23:34 ` Andrew Morton
  2004-07-29 23:53   ` Stephan von Krawczynski
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrew Morton @ 2004-07-29 23:34 UTC (permalink / raw)
  To: Stephan von Krawczynski; +Cc: linux-kernel

Stephan von Krawczynski <skraw@ithnet.com> wrote:
>
> is there a simple way in either 2.4 or 2.6 to get a lot more than 32 groups per
> uid?

2.6 kernels support up to 65536 groups per user.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to increase max number of groups per uid ?
  2004-07-29 23:34 ` Andrew Morton
@ 2004-07-29 23:53   ` Stephan von Krawczynski
  2004-07-29 23:59   ` Tim Hockin
  2004-08-03 14:51   ` Stephan von Krawczynski
  2 siblings, 0 replies; 5+ messages in thread
From: Stephan von Krawczynski @ 2004-07-29 23:53 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

On Thu, 29 Jul 2004 16:34:07 -0700
Andrew Morton <akpm@osdl.org> wrote:

> Stephan von Krawczynski <skraw@ithnet.com> wrote:
> >
> > is there a simple way in either 2.4 or 2.6 to get a lot more than 32 groups
> > per uid?
> 
> 2.6 kernels support up to 65536 groups per user.

Then this feature didn't seem to make it in the core utils.
On a 2.6-based SuSE 9.1 "groups" (which is in fact "id") lists exactly 32.

What about other distros?

Regards,
Stephan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to increase max number of groups per uid ?
  2004-07-29 23:34 ` Andrew Morton
  2004-07-29 23:53   ` Stephan von Krawczynski
@ 2004-07-29 23:59   ` Tim Hockin
  2004-08-03 14:51   ` Stephan von Krawczynski
  2 siblings, 0 replies; 5+ messages in thread
From: Tim Hockin @ 2004-07-29 23:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Stephan von Krawczynski, linux-kernel

On Thu, Jul 29, 2004 at 04:34:07PM -0700, Andrew Morton wrote:
> 2.6 kernels support up to 65536 groups per user.

And it's trivial to increase beyond that, if you *really* need.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to increase max number of groups per uid ?
  2004-07-29 23:34 ` Andrew Morton
  2004-07-29 23:53   ` Stephan von Krawczynski
  2004-07-29 23:59   ` Tim Hockin
@ 2004-08-03 14:51   ` Stephan von Krawczynski
  2 siblings, 0 replies; 5+ messages in thread
From: Stephan von Krawczynski @ 2004-08-03 14:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, thockin

On Thu, 29 Jul 2004 16:34:07 -0700
Andrew Morton <akpm@osdl.org> wrote:

> Stephan von Krawczynski <skraw@ithnet.com> wrote:
> >
> > is there a simple way in either 2.4 or 2.6 to get a lot more than 32 groups
> > per uid?
> 
> 2.6 kernels support up to 65536 groups per user.

Hello Andrew,

in the meantime - after some testing - I found out the problem lies around nfs.
I cannot seem to change to directories (placed on nfs-volumes) whose
group-member I am.
Is this a known problem? Can I do something about it?

The situation is:

nfs-server 2.4.24
nfs-client 2.6.7

Client knows about 1000 groups and quite a lot users.
Mounting some directories from the nfs-server and checking out rights we found
that users belonging to a group owning a directory cannot access it. If the
exact same tree is located on the clients' local fs everything is fine.

Regards,
Stephan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-03 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 17:31 How to increase max number of groups per uid ? Stephan von Krawczynski
2004-07-29 23:34 ` Andrew Morton
2004-07-29 23:53   ` Stephan von Krawczynski
2004-07-29 23:59   ` Tim Hockin
2004-08-03 14:51   ` Stephan von Krawczynski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.