Re: user_r/sysadm_r/staff_r/unconfined_r

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/04/2014 03:38 PM, Dominick Grift wrote:
On Tue, 2014-11-04 at 22:37 +1100, Russell Coker wrote:
The role separation seems to give no benefit apart from sysadm_r/unconfined_r given that we have seuser based constraints and MCS labels to separate users and that they all use the same types.

The current policy doesn't support even logging in with a user other than unconfined_r on Debian/Unstable without significant changes.

Is there any reason for not ripping out all but 2 roles, one for root (and other sysadmin accounts but not GNOME/KDE sessions) and the other for regukar users?

Doing that will make the policy smaller and simpler (for us and users) while not losing any functionality for most users. Where most users probably means everyone who doesn't develop their own policy. The people who do develop their own policy which depends on multiple roles probably have to do plenty of work on systems with the current policy anyway.

I think that sysadm_r/unconfined_r should not transition for programs like gpg.

NB staff_r is my invention. Before that we only had sysadm_r and user_r. I invented staff_r before MCS and the seuser constraints were developed.
Wrong list.

Should refpolicy have user domains at all? Should it have more than a
single domain? As soon as one starts defining a domain one starts
assuming.

In my view plain refpolicy should be nothing more that what is currently
in the kernel layer plus unconfined module and maybe the libraries
module. Maybe constraints.

For sure not an init, authlogin modules etc.

the sole domain kernel_t should in my view ship unconfined, and if for
some reason one really want a user domain then add a unconfined user

Ref policies job would be to maintain core objects like devices, top
level file partitioning, network objects. That is it.

It would be very small and it would be base for all, because there are
almost no decisions made for who ever builds on it

Then on the side there could be a repository with individual add-on
scenario's

It kind of like base and contrib now, but taken further
Yes. I believe this is good for a discussion. Let's move it on the proper list.



_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux