ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Крюков Григорий" <conversely@yandex.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Настройка pam_time
Date: Sat, 15 Jul 2017 23:20:20 +0500
Message-ID: <2f875f68-3f69-8fe9-5d76-12a7c84a4c4d@yandex.ru> (raw)
In-Reply-To: <20170714211948.580790dc@sem.office.basealt.ru>

14.07.2017 23:19, Mikhail Efremov пишет:
> 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. Может просто перевода строки нет в конце.
> И приведите точные строки из конфигов.
>
Перевод в конце строки time.conf... штопаный я Винни пух. Спасибо, Михаил.
Оставлю эти пять минут позора в рассылке. Хороший пример замыленного
взгляда.

      reply	other threads:[~2017-07-15 18:20 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
2017-07-15 18:20   ` Крюков Григорий [this message]

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=2f875f68-3f69-8fe9-5d76-12a7c84a4c4d@yandex.ru \
    --to=conversely@yandex.ru \
    --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