From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 4 10:33:46 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 812D71065672; Thu, 4 Aug 2011 10:33:46 +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 A8F7F8FC27; Thu, 4 Aug 2011 10:33:44 +0000 (UTC) X-AuditID: c0a8013d-b7c16ae0000006e4-78-4e3ad7f07445 Received: from mail.iiap.res.in ( [192.168.1.223]) by smtp.iiap.res.in (Symantec Brightmail Gateway) with SMTP id E0.C3.01764.0F7DA3E4; Thu, 4 Aug 2011 23:03:36 +0530 (IST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.iiap.res.in (Postfix) with ESMTP id A08C34B615; Thu, 4 Aug 2011 16:03:42 +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 EfsvR+FX9rYW; Thu, 4 Aug 2011 16:03:40 +0530 (IST) Received: from voodoo.iiap.res.in (ws92.iiap.res.in [192.168.1.92]) by mail.iiap.res.in (Postfix) with ESMTP id 69F954B53A; Thu, 4 Aug 2011 16:03:40 +0530 (IST) From: Rekhesh Mohan Organization: Indian Institute of Astrophysics To: Eygene Ryabinkin Date: Thu, 4 Aug 2011 16:03:39 +0530 User-Agent: KMail/1.13.7 (Linux/2.6.35.13-92.fc14.x86_64; KDE/4.6.4; x86_64; ; ) References: <201108031826.13208.reks@iiap.res.in> <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy+kDinNNIWtUAGVU> In-Reply-To: <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy+kDinNNIWtUAGVU> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201108041603.39841.reks@iiap.res.in> X-Brightmail-Tracker: AAAAAA== Cc: freebsd-hackers@freebsd.org Subject: Re: 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: Thu, 04 Aug 2011 10:33:46 -0000 On 04/08/2011 Eygene wrote > Rekhesh, good day. > > Wed, Aug 03, 2011 at 06:26:13PM +0530, Rekhesh Mohan wrote: > > 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. > > What's the output from 'ls -l /etc/group; ls -ld /etc'? Eygene! You are the man :) /etc had 750 permissions. Thanks a lot. I was probably too busy looking inside /etc and never thought of looking up above the directory. Everything is working now. Thanks again.. --R