From owner-freebsd-isp Mon Aug 13 19:11:33 2001 Delivered-To: freebsd-isp@freebsd.org Received: from apotheosis.org.za (apotheosis.org.za [137.158.128.27]) by hub.freebsd.org (Postfix) with ESMTP id 6929D37B407 for ; Mon, 13 Aug 2001 19:11:29 -0700 (PDT) (envelope-from mwest@uct.ac.za) Date: Tue, 14 Aug 2001 04:11:21 +0200 From: Matthew West To: Steven Ames Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Apache mod_auth_pam Message-ID: <20010814041121.A46591@apotheosis.org.za> References: <20010727182009.A33792@virtual-voodoo.com> <01ae01c11abf$5e7cd6c0$28d90c42@eservoffice.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01ae01c11abf$5e7cd6c0$28d90c42@eservoffice.com>; from "Steven Ames" on Wed, Aug 01, 2001 at 02:22:55PM Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 01, 2001 at 02:22:55PM -0500, Steven Ames wrote: > The reason is that pam_unix.so makes a call to getpwnam. getpwnam > won't return a password unless the effective UID of the caller is 0 > (aka root). I had much the same problem. > So... anyone know how to get apache to auth using the unix passwd file? I ended up using ports/www/mod_auth_external; seems to work perfectly. You'll want to compile and install "pwauth" from the distfile by hand, as the port skeleton doesn't do this for you. -- mwest@uct.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message