From: "Andrew V. Stepanov" <stanv@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] "pam_mount password:" - неаккуратненько как-то
Date: Mon, 22 Jun 2009 14:06:09 +0400
Message-ID: <20090622100609.GC8267@stanv.malta.altlinux.ru> (raw)
In-Reply-To: <d77783290906182346n480d72c2s739ff140ff37884a@mail.gmail.com>
Добрый день.
Логика инсталлера задана в пакете: installer-feature-network-shares-client
в котором сказано:
pmconf="$destdir/etc/security/pam_mount.conf.xml"
pamconf="$destdir/etc/pam.d/system-auth"
msg "Insert settings to $pamconf to use pam_mount."
append_after="$(sed -n '/^auth[[:space:]]\+required/=' "$pamconf" | tail -n 1)"
test -n "$append_after" && sed -i -e "$append_after a auth optional pam_mount.so" "$pamconf"
append_after="$(sed -n '/^session[[:space:]]\+required/=' "$pamconf" | tail -n 1)"
test -n "$append_after" && sed -i -e "$append_after a session optional pam_mount.so" "$pamconf"
т.е. вставить после required.
Может кто-то другой из разработчиков знает почему у вас такой конфиг для PAM.
Денис Черносов:
> День добрый всем!
>
> auth optional pam_mount.so
> auth sufficient pam_tcb.so shadow fork prefix=$2a$ count=8
> nullok use_first_pass
> auth requisite pam_succeed_if.so uid >= 500 quiet
> auth required pam_ldap.so use_first_pass
>
>
> В пятом бранче pam_mount, будучи поставленный первым в auth (а
> по-другому его заставить работать у меня не получилось), меняет строку
> запроса пароля и вместо просто "password:" пишет "pam_mount
> password:".
>
> $ su -
> pam_mount password:
>
>
> На 4.1 такого не наблюдалось. Зачем понадобилось "кишки светить" перед
> юзерами и можно ли это поведение отключить по-простому?
> Пока сделал как в мануале написано, но смысл написанного для меня
> непрозрачен, а значит велик риск, что через пару месяцев буду смотреть
> на эти строчки в глубокой задумчивости:
>
>
> 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
>
>
> --
> С уважением,
> Черносов Денис
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
stanv -- http://andrusha.googlepages.com
next prev parent reply other threads:[~2009-06-22 10:06 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
2009-06-22 10:06 ` Andrew V. Stepanov [this message]
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=20090622100609.GC8267@stanv.malta.altlinux.ru \
--to=stanv@altlinux.ru \
--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