Group membership above 15 of them
valerio.daelli at gmail.com
Thu Dec 22 00:42:15 PST 2005
On 12/21/05, Feczak Szabolcs <feczo at siodigit.hu> wrote:
> I would like to have users with more than 15 groups. The default
> kern.ngroups: is 16 by default and readonly, and not even /etc/sysctl.conf
> allows to modify it after reboot, although securelevel is -1. I read
> that I need the modify the source and rebuild world for this. If I put
> into more than 15 groups I cannot login anymore and only
> sshd: initgroups(username,100): Invalid argument message
> in the syslog warns me about this - I think more warnings needed
> at some other point since you can easily lock out yourself from
> a remote system.
> So what steps should I take to let this configuration work.
> Isn't there an easier way then rebuild wolrd ?
We have a configuration with 64 groups and it is pretty stable.
We modified the sources:
and put the NGROUPS_MAX to 64.
Then we rebuilt everything and now it just works.
More information about the freebsd-questions