LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 15
SQUID user & password


Hi

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

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

Rep: Reputation: 30
http://www.squid-cache.org/Doc/FAQ/FAQ-23.html

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:
Code:
#%PAM-1.0
auth            required        pam_stack.so service=system-auth
account         required        pam_stack.so service=system-auth

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


Reply



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-05-2006 11:08 PM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10: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 07:07 AM
How Do i Connection to my ISP with User Name & Password? (Software) Bomb187 Fedora 2 04-16-2004 01:00 PM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:21 PM.

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