All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] user vs unconfined
@ 2010-03-09  2:14 Russell Coker
  2010-03-09  2:25 ` Justin P. mattock
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Russell Coker @ 2010-03-09  2:14 UTC (permalink / raw)
  To: refpolicy

Why do unconfined_t and user_t use the same file types for almost everything 
in the latest policy?

This means that if an unconfined user has bad Unix permissions on their home 
directory then user_t can replace a file that will be executed and therefore 
gain unconfined_t access.

So is there any benefit in using user_t in such a scheme?  If there isn't a 
benefit, and as almost all users of the Fedora policy will only use 
unconfined_t for user sessions it seems that the thing to do would be to 
restore the previous separation of user_t, staff_t, sysadm_t, and 
unconfined_t for those who need it as it won't actually affect the Fedora 
users.

Or of course I could just maintain a private fork of the policy for Debian.

Since 2002 the Debian policy has denied root:user_r:user_t the ability to take 
over the system and I plan to keep it that way.

-- 
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-25 15:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09  2:14 [refpolicy] user vs unconfined Russell Coker
2010-03-09  2:25 ` Justin P. mattock
2010-03-09  6:39 ` Michal Svoboda
2010-03-09 13:58 ` Christopher J. PeBenito
2010-03-23  2:16   ` Russell Coker
2010-03-25 15:46     ` Christopher J. PeBenito

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.