Re: [squid-users] PAM-AUTH with passwd/shadow

From: Henrik Nordstrom <>
Date: Tue, 20 Mar 2001 21:28:44 +0100


   auth required /lib/security/ shadow nullok
   account required /lib/security/

/usr/local/bin/pam_auth must be SUID root
   chown root /usr/local/bin/pam_auth
   chmod u+s /usr/local/bin/pam_auth

And if you have other users on this machine, you better make sure only
Squid is allowed to execute pam_auth. This can be done by putting
pam_auth in a directory where only the user Squid runs as has

Henrik Nordstrom
Squid hacker
Kareem Mahgoub wrote:
> Hi Guys,
> I know it must be a repeated question, but i have read the FAQ and the user
> manual and the Mailing list but with no clue.
> I am running squid-2.3-Stable4 on linux RH6.2
> I installed PAM-auth from the auth-modules in the squid directory i followed
> what was mentioned in the Mailing list by adding the following 2 lines in
> the /etc/pam.conf
> auth    required    /lib/security/ shadow nullok
> account    required    /lib/security/
> I installed the  module as root and checked for the ownership and the mode.
> Also i have copied the file to /usr/local/squid/bin
> when i am trying to authenticate by running it, it gives me the following
> #/usr/local/squid/bin/pam_auth
> root "password"
> any body would guide me please???
> Regards
> Kareem Mahgoub
Received on Tue Mar 20 2001 - 13:41:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:44 MST