This will allow anyone who has a Linux or Unix shell account, will be able to use the Squid server
To configure PAM Authentication, Edit the /etc/squid/squid.conf file:
Search for the auth_param section in the config file and add or uncomment these lines:
auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
acl password proxy_auth REQUIRED
Now create a pam module called /etc/pam.d/squid and add the following lines to that module file.
auth required /lib/security/pam_unix.so
account required /lib/security/pam_unix.so
service squid restart or /etc/init.d/squid restart
Thats all... You are done.. Now advise your users to use the UNIX/LINUX Passwords to access internet..
What do you think about this Article? Add your Opinion..! EmoticonEmoticon