ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Нужен совет по pam
Date: Thu, 8 Nov 2007 14:27:16 +0200
Message-ID: <200711081427.16511.ledest@gmail.com> (raw)
In-Reply-To: <20071108114722.GB28110@basalt.office.altlinux.org>

В сообщении от Thursday 08 November 2007 13:47:22 Dmitry V. Levin написал(а):
> 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 есть вещь туманная, по-крайней мере для простого
> > смертного.
>
> Вы хотите получить готовый правильный ответ, или вы хотите понять
> как получить правильный ответ самостоятельно?

Это не я спрашивал изначально, но лично я хотел бы получить внятное 
руководство по настройке/конфигурированию pam с учётом ALT-специфики. Мануалы 
в пакете таким руководством не являются (к сожалению), они дают только 
намёки :(

-- 
Led

  reply	other threads:[~2007-11-08 12:27 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
2007-11-08 12:27       ` Led [this message]
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=200711081427.16511.ledest@gmail.com \
    --to=ledest@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