From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 3 18:57:57 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 6BB651065688 for ; Wed, 3 Aug 2011 18:57:57 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB848FC19 for ; Wed, 3 Aug 2011 18:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=dE/ceyja514liMRgQbbbQAsEzuFW9rbM6sHOS43zzO8=; b=lC5Z/pmy5jsJLzEkm3v/evrQA3vyfVOukuVLvqsBwmwuqVECT2KLtunWsNvNaeVMKyfKOuypZlX4oVa1UBVvR8HbuNilOJQUlFZKdscJet6f1dYNCjQjPCq6HMEQdZGxpoISPOfKs6UGfBvfXGnx6E2BoHw9dPQcF4gOok/NryXAcqyMcFPx5wOMtFiSBtCHJVuUudRwJmmudAZCCTYQHi95h0ncY+qIISNX8Oo+3quXisRmpy/2tC6tvgzDwBXXKqjop02124HXBjY2IRuA//bqaoimAeFJjKDvi7vvNO0nvS3Hlm5YMv9hhmT+RW4+mJUB6ApxXxxPqFeteA7/Ew==; Received: from phoenix.codelabs.ru (ppp91-77-180-171.pppoe.mtu-net.ru [91.77.180.171]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Qogdf-000MGH-Eu; Wed, 03 Aug 2011 22:57:55 +0400 Date: Wed, 3 Aug 2011 22:57:53 +0400 From: Eygene Ryabinkin To: Rekhesh Mohan Message-ID: <6J1Itwyabc8Do31LEfVLpMwSCVA@yLRruTFns/Hy+kDinNNIWtUAGVU> References: <201108031826.13208.reks@iiap.res.in> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: <201108031826.13208.reks@iiap.res.in> Sender: rea@codelabs.ru 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: Wed, 03 Aug 2011 18:57:57 -0000 --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--