Apache: using system passwords

Stephen R Laniel steve at laniels.org
Sun Jul 31 17:04:08 UTC 2005


On Sun, Jul 31, 2005 at 08:51:15AM -0400, Darryl Clarke wrote:
> libapache-mod-auth-pam
> libapache2-mod-auth-pam
> -- Apache module to authenticate web access using PAM

Cool! Here's a question that just occurred to me, though:
the Apache site uses virtual hosts. For hackish reasons, the
system passwords are all of the form username-domain-tld,
for instance 'johnsmith-example-com' for user johnsmith on
example.com. If I set up Apache to authenticate using PAM,
will every shell user be authenticated within every virtual
host? I only want johnsmith-example-com to have access to
the virtual host example.com, not the virtual host foo.com.

Thanks for any advice.

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050731/66feb833/attachment.pgp>


More information about the ubuntu-users mailing list