From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 01:10:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B72A16A416 for ; Wed, 17 Jan 2007 01:10:52 +0000 (UTC) (envelope-from dcasey@debtresolve.com) Received: from debtresolve.com (ip175-18.wp-ny-us.debtresolve.com [66.236.175.18]) by mx1.freebsd.org (Postfix) with ESMTP id 52FF113C455 for ; Wed, 17 Jan 2007 01:10:52 +0000 (UTC) (envelope-from dcasey@debtresolve.com) Received: from dummy.name; Tue, 16 Jan 2007 20:11:40 -0500 Message-ID: <45AD7795.2060100@debtresolve.com> Date: Tue, 16 Jan 2007 20:10:45 -0500 From: Dan Casey User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Adjusting NGROUPS_MAX constant 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, 17 Jan 2007 01:10:52 -0000 I am running into trouble with users who are in more then 16 groups. I fail to ssh in with the following message: sshd[96785]: initgroups(username,1002): Invalid argument sysctl -a kern.ngroups kern.ngroups: 16 Is there any reason why I should not raise NGROUPS_MAX in the following two files? /usr/include/sys/syslimits.h /usr/src/sys/sys/syslimits.h What could I accidentally break.. Or should I say, is there a good reason why the number 16 is hard coded in there?