public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [SECURITY] Minimizing the suid usage
Date: Sun, 23 Mar 2008 20:21:29 +0200	[thread overview]
Message-ID: <9e0cf0bf0803231121t75eb67abu60f17f54086dd32@mail.gmail.com> (raw)

Hello All,

linux-2.6.24 supports file based capabilities via:
CONFIG_SECURITY_FILE_CAPABILITIES

This enables the use of filesystem attributes in order to store per
executable capabilities list, more information at [1].

This enables improved security level for people who don't wish to move
into SELinux or similar.

I think a new global USE flags (or use current caps) may enable
ebuilds to set correct capabilities on files.

On my system at least: ping, ping6, tcpdump, wireshark, samba, ntpd,
rlogin, vmware may enjoy this and drop the root suid.

In order to make it simple for everybody, a new eclass may be
introduced to force dependency on >=libcap-2 and provide some atoms.

This will provide more secured installation for users with a little
effort, less usage of root user.

What do you think?

Alon.

[1] http://www.friedhoff.org/fscaps.html
-- 
gentoo-dev@lists.gentoo.org mailing list



             reply	other threads:[~2008-03-23 18:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-23 18:21 Alon Bar-Lev [this message]
2008-03-23 18:26 ` [gentoo-dev] [SECURITY] Minimizing the suid usage Ciaran McCreesh
2008-03-23 18:30   ` Alon Bar-Lev
2008-03-23 18:34     ` Ciaran McCreesh
2008-03-23 18:45       ` Alon Bar-Lev
2008-03-23 22:02         ` Ciaran McCreesh
2008-04-01 10:50         ` Ciaran McCreesh
2008-03-24 11:50 ` Mike Frysinger
2008-03-24 12:27   ` Alon Bar-Lev
2008-03-24 13:20     ` Ciaran McCreesh
2008-03-24 13:53     ` Mike Frysinger
2008-03-24 13:55       ` Alon Bar-Lev
2008-08-05  8:51 ` Bruno Prémont
2008-08-05  8:54   ` Ciaran McCreesh
2009-01-01 12:23     ` Bruno

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=9e0cf0bf0803231121t75eb67abu60f17f54086dd32@mail.gmail.com \
    --to=alonbl@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox