Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 04:11:21 +0200
From:      Matthew West <mwest@uct.ac.za>
To:        Steven Ames <steve@virtual-voodoo.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Apache mod_auth_pam
Message-ID:  <20010814041121.A46591@apotheosis.org.za>
In-Reply-To: <01ae01c11abf$5e7cd6c0$28d90c42@eservoffice.com>; from "Steven Ames" on Wed, Aug 01, 2001 at 02:22:55PM
References:  <20010727182009.A33792@virtual-voodoo.com> <01ae01c11abf$5e7cd6c0$28d90c42@eservoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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