Skip to contentSkip to conversation

new policy

DISCUSSION Russell Coker 1 participant 1 message Aug 8, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Russell Coker

I am developing a new policy for chroot environments. It consists of two domains, $2_super_t and $2_t.

I've just added a new type that's like $2_ro_t called $2_dropdown_t with the following:
domain_auto_trans($2_super_t, $2_dropdown_t, $2_t)

This is for /etc/init.d/* for example, so that when a package installation (which has to run as $2_super_t to write to /usr/bin etc) runs a daemon then the daemon will run as $2_t. This is so that if you have an sshd to provide user accounts in the chroot then the sshd will run as $2_t and the users will get $2_t.

The only way of entering $2_super_t will be from the user_t domain (or whatever domain the user in question has as their main domain) so there's no way of increasing privs from inside the chroot.

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.