Skip to contentSkip to conversation

sudo selinux patch has been removed.

DISCUSSION Daniel J Walsh 2 participants 2 messages Jan 25, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 8 lines · Daniel J Walsh

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.

Signature · 8 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.