Date: Thu, 4 Aug 2011 16:03:39 +0530 From: Rekhesh Mohan <reks@iiap.res.in> To: Eygene Ryabinkin <rea@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: freeBSD8.2: getgrgid() works only for wheel group. Message-ID: <201108041603.39841.reks@iiap.res.in> In-Reply-To: <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy%2BkDinNNIWtUAGVU> References: <201108031826.13208.reks@iiap.res.in> <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy%2BkDinNNIWtUAGVU>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108041603.39841.reks>