Hello Stefano Borali,
As per your previous mail , you've finished configurarion in
squid.conf . As Henrik said , you have to configure the "squid" PAM service
to connect to your preferred password database source .
See /etc/pam.d/ , i.e..
Pam Conf :
Add this lines in /etc/pam.conf
squid auth required /lib/security/pam_unix.so
squid account required /lib/security/pam_unix.so
Add this lines in /etc/pam.d/squid
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
Test whether pam_auth works fine in Command line , as follows,
Go to path/pam_auth and give ./pam_auth
e.g . [root@polytest bin]# ./pam_auth
my-name my-pasword
OK
Note: If you are authenticating to /etc/shadow , then pam_auth MUST be
installed SUID root.
Regards,
-Kanchana
squid@visolve.com
www.visolve.com
----- Original Message -----
From: "Stefano Borali" <stefano@arcanet.it>
To: <squid-users@squid-cache.org>
Sent: Friday, December 28, 2001 4:47 AM
Subject: Re: [squid-users] PAM authentication problem
> What should I need to authenticate users having access to my squid-cache
using PAM and my passwd file ?
> I have compiled the squid and pam_auth program.
>
> what I should do to activate authentication ?
>
> thanks
>
> Stefano
Received on Thu Dec 27 2001 - 20:20:43 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:30 MST