Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-10-2006, 03:39 AM   #1
Registered: Aug 2004
Location: Jaipur(Rajasthan), INDIA
Posts: 35

Rep: Reputation: 15
SQUID user & password


I have configured squid on one of my machines. I want to give access to internet to the users on the basis of username and passwords. When ever someone tries to use the netů he be prompted for a username & a password. And then the user mey be granted permissions based on the useraname & password. How can we implement this ???? Help

Old 04-10-2006, 04:17 AM   #2
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30

Use pam_auth module for authentication. In redhat systems located here:

chmod u+s /usr/lib/squid/pam_auth

So in squid.conf it will be:

auth_param basic program /usr/lib/squid/pam_auth

Also create a file if it doesn't exist called /etc/pam.d/squid containing:
auth            required service=system-auth
account         required service=system-auth

Last edited by ~=gr3p=~; 04-10-2006 at 04:23 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Ldap Auth & Active Directory password prompt in browser ali247 Linux - Networking 3 05-06-2006 12:08 AM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 11:55 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 08:07 AM
How Do i Connection to my ISP with User Name & Password? (Software) Bomb187 Fedora 2 04-16-2004 02:00 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 04:40 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration