Gentoo Archives: gentoo-dev

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [SECURITY] Minimizing the suid usage
Date: Sun, 23 Mar 2008 18:21:32
Message-Id: 9e0cf0bf0803231121t75eb67abu60f17f54086dd32@mail.gmail.com
1 Hello All,
2
3 linux-2.6.24 supports file based capabilities via:
4 CONFIG_SECURITY_FILE_CAPABILITIES
5
6 This enables the use of filesystem attributes in order to store per
7 executable capabilities list, more information at [1].
8
9 This enables improved security level for people who don't wish to move
10 into SELinux or similar.
11
12 I think a new global USE flags (or use current caps) may enable
13 ebuilds to set correct capabilities on files.
14
15 On my system at least: ping, ping6, tcpdump, wireshark, samba, ntpd,
16 rlogin, vmware may enjoy this and drop the root suid.
17
18 In order to make it simple for everybody, a new eclass may be
19 introduced to force dependency on >=libcap-2 and provide some atoms.
20
21 This will provide more secured installation for users with a little
22 effort, less usage of root user.
23
24 What do you think?
25
26 Alon.
27
28 [1] http://www.friedhoff.org/fscaps.html
29 --
30 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] [SECURITY] Minimizing the suid usage Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] [SECURITY] Minimizing the suid usage Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] [SECURITY] Minimizing the suid usage "Bruno Prémont" <bonbons67@××××××××.lu>