Dear Singh, Follow the procedure for Squid with PAM authentication. I am asuming you are using the default packages or RPMs
Check if the file pam_auth is already SUID root, otherwise use chmod +s /usr/lib/squid/pam_auth (we need to make this file SUID root, as the authentication scheme that we are using on the system is shadow password. Otherwise PAM will not allow it to authenticate other uswers) Create a file named 'squid' in /etc/pam.d with the following contents auth required /lib/security/pam_unix.so account required /lib/security/pam_unix.so Now we need to tell Squid to use this programme to authenticate users. Open the file /etc/squid/squid.conf and search for the line which says #authenticate_programme none Uncomment this line and change it to authenticate_programme /usr/lib/squid/pam_auth Here I have covered only PAM authentication part, squid requires access configuration too, which would be accoding to your network requirements. Arun On Sun, 2002-11-10 at 13:16, T.Vimal P.Singh wrote: > Arun > > I would use PAM authentication module. So tell me the procedure > to do the same. > > Thanks > > Singh > > On 9 Nov 2002, Arun wrote: > > > First decide what type of authentication you want to have, There are > > lots of authentication which can work with Squid, such as NCSA, PAM, > > smb, LDAP, etc. I had worked with PAM and NCSA. NCSA is simplest on > > where you have to create username password file, PAM authentication uses > > the etc/passwd file (means system users) for authentication. > > > > First decide, then I can tell you what to do. > > > > Arun > > > > On Sat, 2002-11-09 at 18:16, T.Vimal P.Singh wrote: > > > > > > Hi > > > > > > I am running squid 2.3stable1 in redhat 6.2. I want my clients to > > > authenticate before squid is used. How can I do this and how can i compile > > > squid with authentication option? > > > > > > Thanks in advance > > > > > > > > > > > > Singh > > > > > > -- > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > linux-india-help mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/linux-india-help > > > > > > -- > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
