Re: [squid-users] Pam authentication /etc/shadow

From: Robert Vangel <vangelr@dont-contact.us>
Date: Tue, 01 Feb 2005 09:23:15 +0800

Carlos Hernandez wrote:
>
> from /etc/pam.d/squid
>
> auth required /lib/security/pam_unix.so shadow nullok
> account required /lib/security/pam_unix.so

Try removing /etc/pam.d/squid. I have just tried this (on Debian Sarge,
pam 0.76-22, squid 2.5 stable 7) myself and it works with no
manipulation of pam (odd I thought... but if it works).

squid.conf .. (relevant bits only)

### START
auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Proxy Authentication Required
auth_param basic credentialsttl 2 hours

acl authenticated proxy_auth REQUIRED

http_access allow authenticated
### END

And that's it. Works fine.

Received on Mon Jan 31 2005 - 18:23:26 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST