ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Kosserrior" <kosserior@tochka.ru>
To: <community@lists.altlinux.org>
Subject: [Comm] PAM (pam_tally) question
Date: Wed, 13 Sep 2006 14:32:00 +0400
Message-ID: <000001c6d71f$d90be030$1626a8c0@ksr> (raw)

Здавствуйте, уважаемые члены рассылки.

С эти вопросом я уже как-то обращался, но тогда мне никто не
ответил на него, может быть сейчас откликнутся знающие люди.

Использую ОС ALM2.4.

 Задача:
Предотвратить попытки пользователя подбирать пароль и, в
случае n неудачных входов в систему, не давать ему
возможности войти в систему в течение времени t.

 Найденное решение:
В качестве решения пробую использовать модуль pam_tally,
соответственно, для примера в файл /etc/pam.d/login в
соответствующее место вношу строку:

auth     required       pam_tally.so per_user

При входе пользователя через консоль в системном потоке
ошибок появляется строка (пишу по памяти):

pam_tally[xxxx] unknown option: per_user.

Аналогичные ошибки возникают при попытке ввести опции deny=n
и unlock_time=t. Если не вводить никаких опций, то никаких
сообщений не выдается.
 Однако во всех случаях в файл /var/log/faillog счетчики
ошибок не увеличиваются, и уж тем более не выставляется
допустимый порог ошибок. Никаких man-руководств в системе по
pam_tally и pam_tally.so не нашлось, хотя команда pam_tally
существует и даже может выставить (сбросить) счетчик ошибок.
При эксперементе использовал материалы с

http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-
pam_tally.html

Помогите, пожалуйста, разобраться с этим модулем, или быть
может, предложите другой вариант решения поставленной
задачи.

             reply	other threads:[~2006-09-13 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13 10:32 Kosserrior [this message]
2006-09-13 10:46 ` Slava Dubrovskiy
2006-09-13 12:01   ` Kosserrior

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='000001c6d71f$d90be030$1626a8c0@ksr' \
    --to=kosserior@tochka.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