Re: (no subject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2002-03-07 at 20:23, Ion Badoi wrote:
> Hello,
> 
> How can I configure pam for users authentication for squid 2.4 using
> /etc/passwd and /etc/hadow from RedHat Linux 7.2?


Put this in squid.conf:
# authenticate_program example
authenticate_program /squid/bin/pam_auth /squid/etc/passwd


Then go to $SQUID-HOME/$SQUID-VERSION/auth_modules/PAM 
and make, and make install

(Doublecheck the exact string for squid.conf.)


In PAM:

make install in squid might create /etc/pam.d/squid. If so, edit it. :)
If not, create it.

You will want at least:
account required	/usr/lib/security/pam_unix.so
auth  	required	/usr/lib/security/pam_unix.so
session	required	/usr/lib/security/pam_unix.so


pam_unix uses the standard Unix and shadow password databases.



You may find the following articles useful:
http://linux.oreillynet.com/pub/a/linux/2001/09/27/pamintro.html
http://linux.oreillynet.com/pub/a/linux/2001/10/05/PamModules.html
http://linux.oreillynet.com/pub/a/linux/2001/08/09/authen_squid.html




Jenn V.
-- 
    "Do you ever wonder if there's a whole section of geek culture 
        	you miss out on by being a geek?" - Dancer.

jenn@anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/






[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux