From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Ed Street <edstreet@street-tek.com>,
"'SE-Linux'" <selinux@tycho.nsa.gov>
Subject: Re: [debian] postfix chroot setup from /etc/init.d/postfix isn't working.
Date: Thu, 10 Jun 2004 22:09:40 +0000 [thread overview]
Message-ID: <20040610220940.GT2861@lkcl.net> (raw)
In-Reply-To: <1086897134.4397.125.camel@moss-spartans.epoch.ncsc.mil>
On Thu, Jun 10, 2004 at 03:52:14PM -0400, Stephen Smalley wrote:
> On Thu, 2004-06-10 at 15:32, Ed Street wrote:
> > Well like they say chroot is the poor mans security setup :) Disabling the
> > chroot jail would be the best solution overall.
>
> Defense in depth is a good idea, so using chroot (or other measures) in
> combination with SELinux is quite sensible...
then, ideally, the stuff that creates the chroot jail needs to be moved into
a separate "helper" script that can be run in its own context
and the postfix.te script needs to have these added:
allow postfix_cleanup_t postfix_cleanup_t:capability { sys_chroot };
allow postfix_master_t postfix_master_t:capability { sys_chroot };
allow postfix_pickup_t postfix_pickup_t:capability { sys_chroot };
allow postfix_qmgr_t postfix_qmgr_t:capability { sys_chroot };
and possibly more? i am only running a local-delivery-only postfix.
or, i am sure that there are people on this list who can think of a
safe way to do this.
l.
--
--
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility for acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-06-10 22:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 21:41 [debian] postfix chroot setup from /etc/init.d/postfix isn't working Luke Kenneth Casson Leighton
2004-06-09 23:29 ` Thomas Bleher
2004-06-10 21:11 ` Luke Kenneth Casson Leighton
2004-06-11 1:07 ` Russell Coker
2004-06-11 23:02 ` Luke Kenneth Casson Leighton
2004-06-12 2:19 ` Russell Coker
2004-06-09 23:39 ` Luke Kenneth Casson Leighton
2004-06-10 2:22 ` Ed Street
2004-06-10 5:10 ` Russell Coker
2004-06-10 11:47 ` Ed Street
2004-06-10 12:20 ` Russell Coker
2004-06-10 19:32 ` Ed Street
2004-06-10 19:52 ` Stephen Smalley
2004-06-10 22:09 ` Luke Kenneth Casson Leighton [this message]
2004-06-10 21:22 ` Luke Kenneth Casson Leighton
2004-06-10 20:21 ` Luke Kenneth Casson Leighton
2004-06-11 0:46 ` Russell Coker
2004-06-11 23:11 ` Luke Kenneth Casson Leighton
2004-06-10 20:26 ` Luke Kenneth Casson Leighton
2004-06-10 20:39 ` Ed Street
2004-06-10 22:13 ` Luke Kenneth Casson Leighton
2004-06-10 0:44 ` Ed Street
2004-06-10 20:56 ` Luke Kenneth Casson Leighton
2004-06-10 21:06 ` Ed Street
2004-06-10 21:20 ` Luke Kenneth Casson Leighton
2004-06-10 23:08 ` Ed Street
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=20040610220940.GT2861@lkcl.net \
--to=lkcl@lkcl.net \
--cc=edstreet@street-tek.com \
--cc=sds@epoch.ncsc.mil \
--cc=selinux@tycho.nsa.gov \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.