ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vladimir Lettiev <thecrux@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Не работает perl-Authen-PAM
Date: Thu, 3 Feb 2011 23:42:08 +0300
Message-ID: <20110203204208.GB5159@truecrux.org> (raw)
In-Reply-To: <4D4B1130.3040006@tangramltd.com>

On Thu, Feb 03, 2011 at 10:33:52PM +0200, Slava Dubrovskiy wrote:
> 03.02.2011 22:03, Slava Dubrovskiy пишет:
> > Здравствуйте.
> >
> > Пытаюсь допилить proxmox. Там используется авторизация через системных
> > пользователей.
> > Но она не работает. Также не работает пример из FAQ (пункт 1 из
> > /usr/lib/perl5/Authen/PAM/FAQ.pod)
> >
> > Подскажите кто силен в перле в чем может быть проблема?
> Обнаружил что из под root работает. Теперь вопрос - как сделать чтобы
> работало из под обычного пользователя?

Под обычным пользователем врядли будет работать.

Судя по strace ему нужны доступные на чтение файлы:
/etc/pam.d/login, /etc/tcb/username/shadow.
Доступный на запуск /usr/lib/chkpwd/tcb_chkp

-- 
Vladimir Lettiev aka crux ✉ theCrux@gmail.com


  reply	other threads:[~2011-02-03 20:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 20:03 Slava Dubrovskiy
2011-02-03 20:33 ` Slava Dubrovskiy
2011-02-03 20:42   ` Vladimir Lettiev [this message]
2011-02-03 20:52     ` Slava Dubrovskiy
2011-02-03 21:01     ` Dmitry V. Levin
2011-02-04  6:39     ` Afanasov Dmitry
2011-02-04 12:39       ` Slava Dubrovskiy

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=20110203204208.GB5159@truecrux.org \
    --to=thecrux@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