From: Mikhail Efremov <sem@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] Настройка pam_time
Date: Fri, 14 Jul 2017 21:19:48 +0300
Message-ID: <20170714211948.580790dc@sem.office.basealt.ru> (raw)
In-Reply-To: <903a18f5-fa0b-dc47-6b9e-a66106943ae2@yandex.ru>
On Wed, 5 Jul 2017 20:57:38 +0500 Крюков Григорий wrote:
> Здравствуйте.
> Прошу помощи в настройке ограничения доступа через pam_time.
> Делал следующим образом (по шаблону с ubuntu-help, не знаю, можно ли
> сюда вставлять ссылки, поэтому воздержусь).
> а) Добавил в /etc/pam.d/lightdm* строки для использования pam_time
> (account [required | requisite] pam_time.so).
> б) Добавил в /etc/security/time.conf строку вида
> lightdm*;*;username;%scheduler%.
> В итоге - блокировка входа аккаунту при любых настройках времени, даже
> при Al0000-2400.
> В journalctl видно следующее - pam_time(lightdm:account): field too long
> - ignored. Но это, судя по всему не ошибка.
> Пробовал раскоментировать в lightdm.conf строки pam-..., не помогло тоже.
>
> Собственно вопрос пока общий, куда копать дальше?
В сторону конфигов все-таки. У меня pam_time вполне работал, значит у
вас local misconfiguration. Может просто перевода строки нет в конце.
И приведите точные строки из конфигов.
--
WBR, Mikhail Efremov
next prev parent reply other threads:[~2017-07-14 18:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 15:57 Крюков Григорий
2017-07-14 18:19 ` Mikhail Efremov [this message]
2017-07-15 18:20 ` Крюков Григорий
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=20170714211948.580790dc@sem.office.basealt.ru \
--to=sem@altlinux.org \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git