ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Yuri N. Glibovetz" <greathit@gmail.com>
To: community@altlinux.ru
Subject: [Comm] cyrus-imapd и права на sasldb2
Date: Sat, 21 May 2005 19:38:26 +0300
Message-ID: <428F6402.1000903@gmail.com> (raw)

Здравствуйте!

Поскольку здесь активно обсуждается cyrus-imapd, я решил выяснить один
вопрос насчёт прав на sasldb2.

Если дать следующие права на sasldb2

# ls -l /etc/sasl2/sasldb2
-rw-r-----  1 root sasl 12288 May 21 19:02 /etc/sasl2/sasldb2

то возникают проблемы с cyradm и аутентификацией пользователей на
imap-сервере. Добавление пользователя cyrus и пользователей cyrus-imap в
группу sasl проблем не решает (более того добавление пользователей
cyrus-imap в группу sasl является дыркой в безопасности).

Если дать следующие права на sasldb2

# ls -l /etc/sasl2/sasldb2
-rw-r--r--  1 root sasl 12288 May 21 19:02 /etc/sasl2/sasldb2

то с cyradm и аутентификацией пользователей всё нормально. Однако
получается большая дыра в системе ;)

Отсюда возникает вопрос: кого на самом деле нужно добавить в группу sasl
чтобы всё нормально работало с правами на sasldb2 640 (очевидно что это
не cyrus и не пользователи)?

$ rpm -qa | grep cyrus
cyrus-imapd-utils-2.2.10-alt1
cyrus-imapd-doc-2.2.10-alt1
cyrus-sasl2-docs-2.1.19-alt1
cyrus-imapd-2.2.10-alt1
cyrus-sasl2-2.1.19-alt1

-- 
Чудес не бывает - бывают только глюки...

Linux Registered User #387540
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=387540


             reply	other threads:[~2005-05-21 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21 16:38 Yuri N. Glibovetz [this message]
2005-05-21 18:52 ` Yuri N. Glibovetz
2005-05-22  4:01   ` Alexei Takaseev

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=428F6402.1000903@gmail.com \
    --to=greathit@gmail.com \
    --cc=community@altlinux.ru \
    /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