Skip to contentSkip to conversation

new user domain (FC3)

DISCUSSION Holger Burde 3 participants 3 messages Mar 4, 2005 – Mar 7, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi;

I am looking for Infos on how to add new user domains to the FC3 targeted Policy. Any examples/papers available ? The only example one i found depends on a user.te file in $SEHOME/domains which is not available in FC3-targeted (examples based on that do not work).

PS Are there any example policies on how to restrict root and/or build
more modular roles (user/adm Domains - FC3 related / modular admin roles / more-or-less restricted-users (ps etc shows only owners procs etc) ?

thx in advance

Signature · 7 lines
Holger Burde <[email protected]>


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 6 lines · Holger Burde

Hi;

I am looking for Infos on how to add new user domains to the FC3 targeted Policy. Any examples/papers available ? The only example one i found depends on a user.te file in $SEHOME/domains which is not available in FC3-targeted (examples based on that do not work).

New user domains won't work in -targeted because the whole idea of targeted is "dump all 'real' users in -unrestricted_t and only really enforce on some of the daemon_t types". You need to run -strict to have the separation needed to make multiple user domains make any sense at all..

#2 lore raw
Quoted 8 lines · On Fri, 2005-03-04 at 13:45 -0500, [email protected] wrote:
Quoted 6 lines · Holger Burde

Hi;

I am looking for Infos on how to add new user domains to the FC3 targeted Policy. Any examples/papers available ? The only example one i found depends on a user.te file in $SEHOME/domains which is not available in FC3-targeted (examples based on that do not work).

Quoted 4 lines

New user domains won't work in -targeted because the whole idea of targeted is "dump all 'real' users in -unrestricted_t and only really enforce on some of the daemon_t types". You need to run -strict to have the separation needed to make multiple user domains make any sense at all..

Right. Also, note that -strict does include an unconfined_t domain as well, so you can put specific daemons and applications into it if you truly want that, so it is easier to start with -strict and "unprotect" specific programs if you want user domains + some program domains than to add user domains to -targeted.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.