3

In continuation of the question How Many Unix Groups Can A User Be A Member Of?: can I somehow change this limit?

1
  • I am not aware how to change the limit (unless you want to fiddle with kernel code). But the limits have changed since 2.6.3, see my answer in your linked question.
    – Baarn
    Commented Jul 6, 2012 at 21:14

2 Answers 2

2

As noted in my comment, the only way known to me is to change the kernel code.

You find the limit inside limits.h.

Since there have been quite some updates to the kernel it might be possible to decrease this limit with some configuration file, eg with the help of PAM.

0

In Solaris it can be changed in /etc/system (or /etc/system.d/<somefile> in version 11.2 or later)

set ngroups_max = <number>

Where number is between 16 and 1024; a reboot is needed if it is changed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .