From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] "pam_mount password:" - неаккуратненько как-то Date: Sat, 20 Jun 2009 03:38:36 +0400 Message-ID: <20090619233836.GA15680@wo.int.altlinux.org> (raw) In-Reply-To: <d77783290906182346n480d72c2s739ff140ff37884a@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1765 bytes --] On Fri, Jun 19, 2009 at 11:46:36AM +0500, Денис Черносов wrote: > День добрый всем! > > 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:". Не надо помещать pam_mount.so в стеке аутентификации до pam_tcb.so, это не правильно по сути. > $ su - > pam_mount password: > > На 4.1 такого не наблюдалось. Зачем понадобилось "кишки светить" перед > юзерами и можно ли это поведение отключить по-простому? Попробуйте спросить у автора pam_mount. Хотя я бы не стал его винить, ведь благодаря ему сразу видна ошибка в стеке аутентификации. > Пока сделал как в мануале написано, но смысл написанного для меня > непрозрачен, а значит велик риск, что через пару месяцев буду смотреть > на эти строчки в глубокой задумчивости: > > 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_mount(8). Чтобы понять, в чём ошибка, придётся прочитать и понять pam.conf(5). P.S. Извините, что отвечаю не на те вопросы, которые вы задаёте, а на те, которые напрашиваются. Просто я сейчас готовил сборку пакета pam-1.1.0-alt1, и вы попали под горячую руку. :) -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-06-19 23:38 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 [this message] 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 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=20090619233836.GA15680@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