All of lore.kernel.org
 help / color / mirror / Atom feed
* sudo selinux patch has been removed.
@ 2006-01-25 15:49 Daniel J Walsh
  2006-01-25 16:39 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2006-01-25 15:49 UTC (permalink / raw)
  To: Stephen Smalley, SE Linux

This means that for mls/strict policy you need to newrole before 
executing sudo.

Sudo policy needs to be written to handle the transition from

staff_t -> staff_sudo_t -> staff_t
or
sysadm_t->sysadm_sudo_t->sysadm_t



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

* Re: sudo selinux patch has been removed.
  2006-01-25 15:49 sudo selinux patch has been removed Daniel J Walsh
@ 2006-01-25 16:39 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2006-01-25 16:39 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SE Linux

On Wed, 2006-01-25 at 10:49 -0500, Daniel J Walsh wrote:
> This means that for mls/strict policy you need to newrole before 
> executing sudo.
> 
> Sudo policy needs to be written to handle the transition from
> 
> staff_t -> staff_sudo_t -> staff_t
> or
> sysadm_t->sysadm_sudo_t->sysadm_t

Should be covered by:
# By default, revert to the calling domain when a shell is executed.
corecmd_shell_domtrans($1_sudo_t,$2)
which is already in sudo.if.

-- 
Stephen Smalley
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] 2+ messages in thread

end of thread, other threads:[~2006-01-25 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-25 15:49 sudo selinux patch has been removed Daniel J Walsh
2006-01-25 16:39 ` 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.