From: Dmitry Marochko <mothlike@gmail.com>
To: rs <rs@sstu.ru>, ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] squid+pam_auth
Date: Sun, 6 Nov 2005 15:37:45 +0300
Message-ID: <200511061537.53096.mothlike@gmail.com> (raw)
In-Reply-To: <367354353.20051106113826@sstu.ru>
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
В сообщении от 6 Ноябрь 2005 11:38 rs написал(a):
>кто нибудь делал такую связку: squid+pam_auth?
Я делал. Прописываем в squid.conf следующее:
# Настраиваем хелпер pam_auth, обращающийся к PAM
auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
# Создаем группу proxy, требующую авторизации на прокси
acl proxy proxy_auth REQUIRED
# Разрешаем доступ этой группе
http_access proxy allow
# Запрещаем все остальное
http_access deny all
Также, в старых версиях squid (из Мастер 2.4) приходилось ставить suid на
pam_auth, иначе последний не мог считать информацию о пользователях. Вроде бы
в последних версиях это исправили более правильным способом.
--
With best wishes,
Dmitry Marochko aka Mothlike
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2005-11-06 12:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-06 8:38 rs
2005-11-06 12:37 ` Dmitry Marochko [this message]
2005-11-07 9:05 ` Slava Dubrovskiy
2005-11-07 9:15 ` Alex Gorbachenko
2005-11-07 9:18 ` rs
2005-11-07 10:01 ` Alex Gorbachenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511061537.53096.mothlike@gmail.com \
--to=mothlike@gmail.com \
--cc=community@lists.altlinux.org \
--cc=rs@sstu.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git