LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-08-2005, 06:31 PM   #1
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Rep: Reputation: 30
squid (pam auth) add group ?


I have a server proxy (Squid), makes validation for PAM.
I have the following one, as example:

acl anyaccess proxy_auth root
http_access allow blacklist anyaccess

The Access will be set free for the user root, of the operational system.
It is rule can be applied for a group, instead of an user?
 
Old 09-09-2005, 10:18 AM   #2
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
You can sort of do groups but not utilising PAM as far as I know.

Create a file with all the usernames in the group you want (one per line)

Code:
root
user1
user2
user5
Assuming the above is saved in the file /etc/squid/group1
then change your acl entry to this.

Code:
acl anyaccess proxy_auth "/etc/squid/group1"
http_access allow blacklist anyaccess
The ACL now collects the usernames from the file rather than just ones you specify in the config file.
 
Old 09-09-2005, 10:26 AM   #3
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Original Poster
Rep: Reputation: 30
Thankz,
But I needed to interact with the groups, of the operational system.

It customer not to need me, when to add a new User
 
Old 09-09-2005, 11:53 AM   #4
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
You would have to script the update of that file for the process to be automatic, this should be easy enough with a shell script or some perl.
 
  


Reply


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
pam radius auth in slackware ?? Barx Slackware 1 04-30-2005 09:06 AM
pam.d/system-auth and LDAP? SheldonPlankton Linux - General 0 04-28-2005 02:11 PM
Redhat 9 X-server PAM Auth. Failed billmannion Linux - Newbie 0 02-18-2004 05:37 PM
openssh/PAM auth problem crippler909 Linux From Scratch 1 06-08-2003 12:51 PM
Need help w/Samba & PAM Auth DocJones Linux - Software 3 05-14-2003 09:42 AM


All times are GMT -5. The time now is 08:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration