From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Нужен совет по pam Date: Thu, 8 Nov 2007 14:47:22 +0300 Message-ID: <20071108114722.GB28110@basalt.office.altlinux.org> (raw) In-Reply-To: <4732E57E.1030509@gmail.com> [-- Attachment #1: Type: text/plain, Size: 1903 bytes --] On Thu, Nov 08, 2007 at 12:31:26PM +0200, Motsyo Gennadi aka Drool wrote: > 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 > >> > >> Что не так (кроме кривых рук)? > > > > Незнание предмета. > > Я это и не скрываю. Лучше скромно спросить, чем гордо не знать. Знал бы > предмет - не спрашивал бы. OK, наводящий вопрос: Объясните, пожалуйста, с какими правами работает приложение, и какой смысл вкладывается в "auth sufficient pam_rootok.so"? > > Пожалуйста, ознакомьтесь хотя бы с документацией, > > входящей в пакеты pam и pam0_tcb, и посмотрите примеры использования > > в каталоге /etc/pam.d/ (прежде всего system-auth, а также те файлы, > > которые его включают). > > Читал маны и /usr/share/doc/Linux-PAM-0.99.6.3/html. Ничего не понял, > кроме того что pam есть вещь туманная, по-крайней мере для простого > смертного. Вы хотите получить готовый правильный ответ, или вы хотите понять как получить правильный ответ самостоятельно? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-08 11:47 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 2007-11-08 11:47 ` Dmitry V. Levin [this message] 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=20071108114722.GB28110@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --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