Date: Thu, 22 Dec 2005 09:42:13 +0100 From: Valerio daelli <valerio.daelli@gmail.com> To: Feczak Szabolcs <feczo@siodigit.hu> Cc: questions@freebsd.org Subject: Re: Group membership above 15 of them Message-ID: <27dbfc8c0512220042s6b6f1704m320204550fce595b@mail.gmail.com> In-Reply-To: <43A99FCF.5070409@siodigit.hu> References: <43A99FCF.5070409@siodigit.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/21/05, Feczak Szabolcs <feczo@siodigit.hu> wrote: > > Hi, > > 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.con= f > allows to modify it after reboot, although securelevel is -1. I read > somewhere > that I need the modify the source and rebuild world for this. If I put > myself > into more than 15 groups I cannot login anymore and only > sshd[52178]: 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: /usr/include/sys/syslimits.h /usr/src/sys/sys/syslimits.h and put the NGROUPS_MAX to 64. Then we rebuilt everything and now it just works. Valerio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27dbfc8c0512220042s6b6f1704m320204550fce595b>