From owner-freebsd-current@FreeBSD.ORG Wed May 28 04:47:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6942637B401 for ; Wed, 28 May 2003 04:47:43 -0700 (PDT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FD143F93 for ; Wed, 28 May 2003 04:47:42 -0700 (PDT) (envelope-from jilles@stack.nl) Received: by mailhost.stack.nl (Postfix, from userid 65534) id 42CC21F00B; Wed, 28 May 2003 13:47:41 +0200 (CEST) Received: from toad.stack.nl (toad.stack.nl [2001:610:1108:5010::135]) by mailhost.stack.nl (Postfix) with ESMTP id 112841F007 for ; Wed, 28 May 2003 13:47:37 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 1677) id DF13750; Wed, 28 May 2003 13:47:36 +0200 (CEST) Date: Wed, 28 May 2003 13:47:36 +0200 From: Jilles Tjoelker To: freebsd-current@freebsd.org Message-ID: <20030528114736.GA95558@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-6.4 required=5.0 tests=USER_AGENT_MUTT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Long lines in /etc/group do not work (bin/52433) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 11:47:43 -0000 We are having trouble with long lines in /etc/group. The only workaround (apart from shortening the member list) is logging in via ssh. getgrouplist(3) fails if the line is longer than 1024 and getgrnam(3) has not been called on that group. login(1) and su(1) fail to add the group to the group access list unless the line length is less than about 600. sshd always sets the group list correctly. This seems to have started with the new NSS stuff. Thanks in advance, Jilles