From: Motsyo Gennadi aka Drool <motsyo@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Нужен совет по pam Date: Thu, 08 Nov 2007 12:31:26 +0200 Message-ID: <4732E57E.1030509@gmail.com> (raw) In-Reply-To: <20071107232953.GB12561@basalt.office.altlinux.org> Dmitry V. Levin пишет: > On Thu, Nov 08, 2007 at 01:12:31AM +0200, Motsyo Gennadi aka Drool wrote: > [...] >> Вот содержимое авторского pam-модуля: >> >> auth required pam_unix.so nullok >> auth required pam_listfile.so >> file=/etc/qtsmbstatusd/qtsmbstatusd.users onerr=fail sense=allow item=user >> account required pam_unix.so >> session required pam_unix.so >> password required pam_unix.so >> >> А так выглядит модуль, который пускает кого положено, но с любым не >> пустым паролем: >> >> +auth sufficient pam_rootok.so >> +auth include system-auth >> +auth required pam_listfile.so >> file=/etc/qtsmbstatusd/qtsmbstatusd.users onerr=fail sense=allow item=user >> +account required pam_permit.so >> +password required pam_deny.so >> +session optional pam_xauth.so >> >> Что не так (кроме кривых рук)? > > Незнание предмета. Я это и не скрываю. Лучше скромно спросить, чем гордо не знать. Знал бы предмет - не спрашивал бы. > Пожалуйста, ознакомьтесь хотя бы с документацией, > входящей в пакеты pam и pam0_tcb, и посмотрите примеры использования > в каталоге /etc/pam.d/ (прежде всего system-auth, а также те файлы, > которые его включают). Читал маны и /usr/share/doc/Linux-PAM-0.99.6.3/html. Ничего не понял, кроме того что pam есть вещь туманная, по-крайней мере для простого смертного. Только что разработчик программы ответил мылом. Кроме некоторых его теоретических предположений почему может не работать, есть такое: .... I'll install ALT Linux and test it with qtsmbstatus. .... Это вам не в man послать...
next prev parent reply other threads:[~2007-11-08 10:31 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-07 23:12 Motsyo Gennadi aka Drool 2007-11-07 23:28 ` Avramenko Andrew 2007-11-07 23:31 ` Dmitry V. Levin 2007-11-07 23:29 ` Dmitry V. Levin 2007-11-08 6:58 ` Motsyo Gennadi aka Drool 2007-11-08 10:31 ` Motsyo Gennadi aka Drool [this message] 2007-11-08 11:47 ` Dmitry V. Levin 2007-11-08 12:27 ` Led 2007-11-08 12:47 ` Motsyo Gennadi aka Drool 2007-11-08 12:49 ` Michael Shigorin
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=4732E57E.1030509@gmail.com \ --to=motsyo@gmail.com \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git