ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] "pam_mount password:" - неаккуратненько как-то
Date: Fri, 26 Jun 2009 03:23:57 +0400
Message-ID: <20090625232356.GA24558@wo.int.altlinux.org> (raw)
In-Reply-To: <20090625211916.GB17524@wo.int.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]

On Fri, Jun 26, 2009 at 01:19:16AM +0400, Dmitry V. Levin wrote:
> On Thu, Jun 25, 2009 at 11:27:46AM +0500, Денис Черносов wrote:
> > 24 июня 2009 г. 16:12 пользователь Dmitry V. Levin (ldv@altlinux.org) написал:
> > > On Wed, Jun 24, 2009 at 01:31:29PM +0500, Денис Черносов wrote:
> > > Какой смысл выполнять pam_mount.so до аутентификации (pam_tcb.so/pam_ldap.so)?
> > > Зачем вообще pam_mount.so помещать в стек аутентификации?
> > 
> > Если я монтирую ресурс, требующий аутентификации, то модулю pam_mount
> > нужен логин-пароль. Реальная аутентификация так и продолжает
> > происходить либо в pam_ldap либо в pam_tcb,  а pam_mount выступает в
> > роли прокси: запросил данные от своего имени, сохранил себе копию и
> > отправил далее по этапу.
> > 
> > Так я представляю себе эту ситуацию.
> 
> Если модулю pam_mount нужен пароль, то ему нужно присутствовать в стеке
> аутентификации.  Но пока основные модули аутентификации не дали своё
> добро, pam_mount не должен вмешиваться.
> 
> Вы, конечно, правы в том, что использование sufficient вынуждает помещать
> pam_mount.so в стек перед sufficient.  Это значит, что вместо sufficient
> лучше использовать переходы, как предложил Andrew Morgan, только тогда надо
> указывать правильные значения для переходов.
> 
> Пожалуй, я попробую заменить в system-auth-* все sufficient на переходы.

Можете попробовать взять новые system-auth-* прямо из репозитория
http://git.altlinux.org/people/ldv/packages/?p=pam-config.git;a=tree;f=pam-config
добавить optional pam_mount.so в конец стеков auth и session,
потестировать и рассказать о впечатлениях.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-06-25 23:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19  6:46 Денис Черносов
2009-06-19 23:38 ` Dmitry V. Levin
2009-06-22  6:41   ` Денис Черносов
2009-06-22 16:48     ` Dmitry V. Levin
2009-06-24  8:31       ` Денис Черносов
2009-06-24 11:12         ` Dmitry V. Levin
2009-06-25  6:27           ` Денис Черносов
2009-06-25 21:19             ` Dmitry V. Levin
2009-06-25 23:23               ` Dmitry V. Levin [this message]
2009-06-26  7:41                 ` Денис Черносов
2009-06-26 19:10                   ` Dmitry V. Levin
2009-06-26 21:48                   ` [Comm] pam-config-1.5.0-alt1 Dmitry V. Levin
2009-06-26  7:21               ` [Comm] "pam_mount password:" - неаккуратненько как-то Денис Черносов
2009-06-26 19:05                 ` Dmitry V. Levin
2009-06-22 10:06 ` Andrew V. Stepanov
2009-06-24  9:02   ` Денис Черносов

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=20090625232356.GA24558@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=community@lists.altlinux.org \
    /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