All of lore.kernel.org
 help / color / mirror / Atom feed
* I am attempting to add a secadm_r
@ 2005-04-07 15:38 Daniel J Walsh
  2005-04-07 16:46 ` Luke Kenneth Casson Leighton
  2005-04-07 16:54 ` Stephen Smalley
  0 siblings, 2 replies; 14+ messages in thread
From: Daniel J Walsh @ 2005-04-07 15:38 UTC (permalink / raw)
  To: Stephen Smalley, SE Linux

I do not want to get in a conversation about how many ways there are 
around this, from sysadm_r.   I know that, but when I was at DOD
a couple of weeks ago they stated that they wanted a separate role from 
policy management, from the role of the system administrator.  They
did not care about this being protected, but wanted a way to stop 
accidentally modifying the machine.  In DOD the System Administrator and
the Security Administrator are different roles. 

Any ways trying a simple experiment I have added the following  roles

role secadm_r types sysadm_t
role secadm_r types checkpolicy_t
role secadm_r types newrole_t

And I add secadm_r as a "root" role in the users file.

Now when I try to newrole from root:sysadm_r:sysadm_t to 
root:secadm_r:sysadm_t

I get a process transition failure

from

root:sysadm_r:newrole_t to root:secadm_r:sysadm_t.

What am I missing?

the
allow newrole_t sysadm_t:process transition;

rule exists

-- 



--
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.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: I am attempting to add a secadm_r
@ 2005-04-08  0:50 Chad Hanson
  0 siblings, 0 replies; 14+ messages in thread
From: Chad Hanson @ 2005-04-08  0:50 UTC (permalink / raw)
  To: Stephen Smalley, Daniel J Walsh; +Cc: SE Linux


Stephen Smalley wrote: 

>The su pam_selinux integration makes this a bit harder too, as we want
>to convey uid 0 / Linux capabilities to the process without forcing them
>to a single SELinux user identity.  Of course, as I noted to Luke, you
>could have multiple /etc/passwd accounts with uid 0 and map the
>usernames to different roles in policy/users.
>

I sort of like the idea of multiple uid 0 accounts for mapping usernames to
roles. This would seem to solve a lot of legacy problems that exist with
creating RBAC on top a traditional UID 0 based security. Creating a useful
RBAC solution requires overcoming these legacy problems. I think the mapping
approach should work well for a high level of granularity. I think the one
potential downfall is possibly having some issues when you get into a very
granular schema, because you could need a lot of uid 0 accounts.

>> If I do full_user_role I get alot more privs then I necessarily want.
>
>You can certainly create a stripped down version of full_user_role that
>is much more minimal in its permissions, but you still need a distinct
>initial domain for the role to protect it from subversion by other
>roles.

I would agree that is what would be desired for administrative and even some
user roles. 

-Chad

--
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.

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

end of thread, other threads:[~2005-04-19  4:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 15:38 I am attempting to add a secadm_r Daniel J Walsh
2005-04-07 16:46 ` Luke Kenneth Casson Leighton
2005-04-07 17:00   ` Stephen Smalley
2005-04-07 17:45     ` Luke Kenneth Casson Leighton
2005-04-07 17:39       ` Stephen Smalley
2005-04-07 18:33         ` Luke Kenneth Casson Leighton
2005-04-19  4:43       ` Russell Coker
2005-04-07 16:54 ` Stephen Smalley
2005-04-07 16:55   ` Stephen Smalley
2005-04-07 17:10   ` Stephen Smalley
2005-04-07 19:25     ` Daniel J Walsh
2005-04-07 19:37       ` Stephen Smalley
2005-04-19  4:32       ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2005-04-08  0:50 Chad Hanson

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.