freeBSD8.2: getgrgid() works only for wheel group.

Eygene Ryabinkin rea at freebsd.org
Wed Aug 3 18:57:57 UTC 2011


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 Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110803/f4d6a0a9/attachment.pgp


More information about the freebsd-hackers mailing list