All of lore.kernel.org
 help / color / mirror / Atom feed
* system_r and sysadm_r roles
@ 2004-03-08 11:39 Carlos Anísio Monteiro
  2004-03-08 14:50 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos Anísio Monteiro @ 2004-03-08 11:39 UTC (permalink / raw)
  To: selinux

Helo.

I´d  like to know why there is a transition permission between system_r 
and sysadm_r.

Example:  allow system_r sysadm_r;

This would can induce the a problem of security ?

Thanks.

-- 
Carlos Anísio Monteiro	<monteiro@ipen.br>
IPEN-CNEN/SP
São Paulo - Brasil



--
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] 5+ messages in thread

* Re: system_r and sysadm_r roles
  2004-03-08 11:39 system_r and sysadm_r roles Carlos Anísio Monteiro
@ 2004-03-08 14:50 ` Stephen Smalley
  2004-03-08 17:14   ` Carlos Anísio Monteiro
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Smalley @ 2004-03-08 14:50 UTC (permalink / raw)
  To: Carlos Anísio Monteiro; +Cc: selinux

On Mon, 2004-03-08 at 06:39, Carlos Anísio Monteiro wrote:
> I´d  like to know why there is a transition permission between system_r 
> and sysadm_r.
> 
> Example:  allow system_r sysadm_r;

The login process (which is a system_r process) transitions to sysadm_r
for administrative logins.  

> This would can induce the a problem of security ?

No, domain transitions are the key.

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency


--
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] 5+ messages in thread

* Re: system_r and sysadm_r roles
  2004-03-08 14:50 ` Stephen Smalley
@ 2004-03-08 17:14   ` Carlos Anísio Monteiro
  2004-03-08 17:28     ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos Anísio Monteiro @ 2004-03-08 17:14 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

Stephen Smalley wrote:

>>This would can induce the a problem of security ?
>>    
>>
>
>No, domain transitions are the key.
>
Sorry, but don´t understand this. If a fail (that it provide a shell 
root) to occur in a system process, can´t occur a transition to sysadm_r 
role ?

Many thanks.

-- 
Carlos Anísio Monteiro	<monteiro@ipen.br>
IPEN-CNEN/SP
São Paulo - Brasil



[-- Attachment #2: Type: text/html, Size: 856 bytes --]

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

* Re: system_r and sysadm_r roles
  2004-03-08 17:14   ` Carlos Anísio Monteiro
@ 2004-03-08 17:28     ` Stephen Smalley
  2004-03-08 17:38       ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Smalley @ 2004-03-08 17:28 UTC (permalink / raw)
  To: Carlos Anísio Monteiro; +Cc: selinux

On Mon, 2004-03-08 at 12:14, Carlos Anísio Monteiro wrote:
> Sorry, but don´t understand this. If a fail (that it provide a shell
> root) to occur in a system process, can´t occur a transition to
> sysadm_r role ?

Not unless the domain can transition to a domain associated with
sysadm_r, and the role transition meets the boolean condition specified
in policy/constraints for role changes.

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency


--
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] 5+ messages in thread

* Re: system_r and sysadm_r roles
  2004-03-08 17:28     ` Stephen Smalley
@ 2004-03-08 17:38       ` Stephen Smalley
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Smalley @ 2004-03-08 17:38 UTC (permalink / raw)
  To: Carlos Anísio Monteiro; +Cc: selinux

On Mon, 2004-03-08 at 12:28, Stephen Smalley wrote:
> On Mon, 2004-03-08 at 12:14, Carlos Anísio Monteiro wrote:
> > Sorry, but don´t understand this. If a fail (that it provide a shell
> > root) to occur in a system process, can´t occur a transition to
> > sysadm_r role ?
> 
> Not unless the domain can transition to a domain associated with
> sysadm_r, and the role transition meets the boolean condition specified
> in policy/constraints for role changes.

Oh, and it would also have to transition to a user identity authorized
for sysadm_r, which would require meeting another boolean condition
specified in policy/constraints for user identity changes.

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency


--
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] 5+ messages in thread

end of thread, other threads:[~2004-03-08 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 11:39 system_r and sysadm_r roles Carlos Anísio Monteiro
2004-03-08 14:50 ` Stephen Smalley
2004-03-08 17:14   ` Carlos Anísio Monteiro
2004-03-08 17:28     ` Stephen Smalley
2004-03-08 17:38       ` Stephen Smalley

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.