From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 18:29:56 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E207516A41F for ; Wed, 21 Dec 2005 18:29:56 +0000 (GMT) (envelope-from feczo@siodigit.hu) Received: from adsl.siodigit.hu (adsl.siodigit.hu [212.108.241.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 574E743D6A for ; Wed, 21 Dec 2005 18:29:55 +0000 (GMT) (envelope-from feczo@siodigit.hu) Received: from feczo.sdi.hu ([192.168.0.217]) by adsl.siodigit.hu with esmtp (Exim 4.50) id 1Ep8fX-0007o6-U1 for questions@FreeBSD.org; Wed, 21 Dec 2005 19:26:31 +0100 Message-ID: <43A99FCF.5070409@siodigit.hu> Date: Wed, 21 Dec 2005 19:32:47 +0100 From: Feczak Szabolcs User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Group membership above 15 of them X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 18:29:57 -0000 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.conf 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 ?