|
Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: SELinux policy discussion.
From: Colin Walters <walters_at_redhat.com>
Date: Thu, 16 Sep 2004 00:05:03 -0400
> What you have right now is not least privilege possible. You need to point out specific things that are broken.
> > Normal users don't just randomly cat files in /etc. There are no hard and fast rules, but I am quite sure that no one's end goal is "cat random file in /etc". Instead, you cat a file to achieve something else. That something else is what is interesting.
> If there is a general consensus that a user has no job One reason is because (at least before ACLs) it's complicated to restrict access to only mildly sensitive files that are shared across multiple daemon uids that a user doesn't really need read access to.
> Why don't you implement the MAC at the permissions level That doesn't make any sense, if the MAC system respected DAC permissions it wouldn't be MAC.
> So if a case can be made you'll change the SElinux context to respect No. What we were discussing here is for a user to read a particular file in /etc. Even if the file is world readable, that doesn't mean that access to it would be granted for all SELinux domains. Someone may deliberately create a domain that has no access to etc_t. A good reason to do this would be for a secured chroot setup. What we would do is grant user_t and staff_t permissions for the file.
> If a case can't be made, why don't you change the Because it may be very annoying to do some of this using Unix permissions, and generally not worth the trouble.
> If I added the permissions No, not at all. To make this discussion a bit more concrete, suppose that in the strict policy your sendmail daemon (which runs as root) is compromised. The compromised daemon can set all the bits on files in /etc it wants with just Unix permissions. But with SELinux, even if it had permission to make /etc/shadow a+r, other domains wouldn't have access to it. SELinux and Unix permissions are quite separate for good reason.
> Look, I don't really know how to use SELinux. I have a general idea What you really seem to be saying is that your system doesn't need mandatory access control for users. If so, use the targeted policy, which leaves users in unconfined_t, with no SELinux restrictions applied.
> You can claim that because I don't know how to use SELinux I would never said that.. Heck, I'm still learning how to use SELinux best myself and I've been at it for over a year now.
> I shouldn't I think you just want the targeted policy.
> Do you not see value in that? Is the restriction imposed on what user_t No, but it is a very core feature.
> I wanted to use strict Do you have a particular daemon you feel should be in the strict policy?
-- 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.Received on Thu 16 Sep 2004 - 00:03:49 EDT |
|
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |











