From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 3 13:11:41 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0844D106564A for ; Wed, 3 Aug 2011 13:11:41 +0000 (UTC) (envelope-from reks@iiap.res.in) Received: from smtp.iiap.res.in (iiap.res.in [124.30.128.133]) by mx1.freebsd.org (Postfix) with ESMTP id 6DABA8FC08 for ; Wed, 3 Aug 2011 13:11:39 +0000 (UTC) X-AuditID: c0a8013d-b7c16ae0000006e4-88-4e39a7ecfdff Received: from mail.iiap.res.in ( [192.168.1.223]) by smtp.iiap.res.in (Symantec Brightmail Gateway) with SMTP id 23.F1.01764.CE7A93E4; Thu, 4 Aug 2011 01:26:28 +0530 (IST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.iiap.res.in (Postfix) with ESMTP id E634E4B597 for ; Wed, 3 Aug 2011 18:26:35 +0530 (IST) X-Virus-Scanned: amavisd-new at iiap.res.in Received: from mail.iiap.res.in ([127.0.0.1]) by localhost (iiap.res.in [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jk7rpo6ki2XI for ; Wed, 3 Aug 2011 18:26:34 +0530 (IST) Received: from kiwi.home.net (unknown [180.149.48.210]) by mail.iiap.res.in (Postfix) with ESMTP id 39A5D4B500 for ; Wed, 3 Aug 2011 18:26:34 +0530 (IST) From: Rekhesh Mohan Organization: Indian Institute of Astrophysics To: freebsd-hackers@freebsd.org Date: Wed, 3 Aug 2011 18:26:13 +0530 User-Agent: KMail/1.13.7 (Linux/2.6.35.10-74.fc14.x86_64; KDE/4.6.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201108031826.13208.reks@iiap.res.in> X-Brightmail-Tracker: AAAAAA== Subject: freeBSD8.2: getgrgid() works only for wheel group. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 13:11:41 -0000 Dear Hackers, I'm trying to install mailman on a freeBSD 8.2 box. Mailman allows only the apache-www group to run its CGI scripts and only the mail group can execute some of the mailing list related functionalities. Mailman is using getgrgid() to check the group name. This is failing on me. It appears that only the wheel group members are allowed to use getgrgid() on my machine. getgrgid() returns (null) for others. I was wondering if anyone else has faced this situation. Let me know.. Thanks in advance! --R