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 23:05:59 +0400
Message-ID: <20090626190559.GA16303@wo.int.altlinux.org> (raw)
In-Reply-To: <d77783290906260021s1b300ae2i3bb4e9e97ea2609d@mail.gmail.com>

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

On Fri, Jun 26, 2009 at 12:21:47PM +0500, Денис Черносов wrote:
> 26 июня 2009 г. 2:19 пользователь Dmitry V. Levin (ldv@altlinux.org) написал:
> >> >> auth     [success=2 default=ignore]       pam_tcb.so shadow fork prefix=$2a$ count=8 nullok
> >> >> auth     requisite pam_succeed_if.so uid >= 500 quiet
> >> >> auth     [success=1 default=ignore]       pam_ldap.so use_first_pass
> >> >> auth     optional       pam_mount.so
> >>
> > Нет.  Давайте почитаем pam.conf(5) вместе.  Там написано, что
> > "The actionN can be: an unsigned integer, n, signifying an action of 'jump
> > over the next n modules in the stack'".
> >
> > Как правильно перевести фразу "jump over the next n modules in the stack"
> > при n == 2?
> 
> Да, вы правы. Получается, что в моем случае нужно указывать так:
> 
> auth     [success=2 default=ignore]       pam_tcb.so shadow fork
> prefix=$2a$ count=8 nullok
> auth     requisite pam_succeed_if.so uid >= 500 quiet
> auth     [success=0 default=ignore]       pam_ldap.so use_first_pass
> auth     optional       pam_mount.so

Не совсем так.  Хотя бы один модуль аутентификации (последний в стеке)
не должен быть проигнорирован.  В данном случае это pam_ldap.so


-- 
ldv

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

  reply	other threads:[~2009-06-26 19:05 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
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 [this message]
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=20090626190559.GA16303@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