Skip to contentSkip to conversation

policy

DISCUSSION Stephen D. Smalley 2 participants 2 messages Apr 3, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

can_exec(crond_t, sbin_t);
Why was the above rule added to crond.te?

Good question. Looks like a mistake when they removed can_exec_any from system_crond_t and were adding individual can_exec rules.

Quoted 3 lines

allow $1_t sshd_tmp_t:file create_file_perms;
The above rule from macros/user_macros.te looks dangerous. We have the type sshd_tmp_t being used for all user domains.

Agreed, I've removed this from our internal tree. It appears that this is also granted to some program domains, e.g. the su domains and the ssh client domains.

Quoted 3 lines

Could the following please be added to initrc.fc:
/etc/nologin.* system_u:object_r:etc_runtime_t
/etc/nohotplug system_u:object_r:etc_runtime_t

Yes, I've made this change to our internal tree.

--
Stephen Smalley, NSA

--
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 7 lines · Stephen D. Smalley
Quoted 3 lines

allow $1_t sshd_tmp_t:file create_file_perms;
The above rule from macros/user_macros.te looks dangerous. We have the type sshd_tmp_t being used for all user domains.

Agreed, I've removed this from our internal tree. It appears that this is also granted to some program domains, e.g. the su domains and the ssh client domains.

That will probably break a few things, but that's fine. When we break things we will then be able to fix them properly, just as long as it doesn't get released in the broken version.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


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