freeBSD8.2: getgrgid() works only for wheel group.
Rekhesh Mohan
reks at iiap.res.in
Thu Aug 4 10:33:46 UTC 2011
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
More information about the freebsd-hackers
mailing list