From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Не работает perl-Authen-PAM
Date: Thu, 03 Feb 2011 22:52:44 +0200
Message-ID: <4D4B159C.5040204@tangramltd.com> (raw)
In-Reply-To: <20110203204208.GB5159@truecrux.org>
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
03.02.2011 22:42, Vladimir Lettiev пишет:
>
>>> Пытаюсь допилить 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
т.е. это нужно права менять, чтобы оно смогло из под апача
авторизироваться? =-O
Как быть?
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5525 bytes --]
next prev parent reply other threads:[~2011-02-03 20:52 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
2011-02-03 20:52 ` Slava Dubrovskiy [this message]
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=4D4B159C.5040204@tangramltd.com \
--to=slava@tangramltd.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