Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2011 22:57:53 +0400
From:      Eygene Ryabinkin <rea@freebsd.org>
To:        Rekhesh Mohan <reks@iiap.res.in>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: freeBSD8.2: getgrgid() works only for wheel group.
Message-ID:  <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy%2BkDinNNIWtUAGVU>
In-Reply-To: <201108031826.13208.reks@iiap.res.in>
References:  <201108031826.13208.reks@iiap.res.in>

next in thread | previous in thread | raw e-mail | index | archive | help

--5G06lTa6Jq83wMTw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
> the apache-www group to run its CGI scripts and only the mail group can=
=20
> execute some of the mailing list related functionalities. Mailman is=20
> using  getgrgid() to check the group name. This is failing on me.
>=20
> It appears that only the wheel group members are allowed to use=20
> getgrgid() on my machine. getgrgid() returns (null) for others. I was=20
> wondering if anyone else has faced this situation.=20

What's the output from 'ls -l /etc/group; ls -ld /etc'?
--=20
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]

--5G06lTa6Jq83wMTw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iF0EAREIAAYFAk45mjAACgkQFq+eroFS7PveNwD4+XC6emq52551DxQbgkorkjjS
LDwXEHZVqcMZEbcl9gD/XOJd68t/PJmtUpbWcWZeSE/obcPl/9DFeP0yFaajHhk=
=QcR0
-----END PGP SIGNATURE-----

--5G06lTa6Jq83wMTw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6J1Itwyabc8Do31LEfVLpMwSCVA>