Skip to contentSkip to conversation

home directory mangling

DISCUSSION Russell Coker 1 participant 1 message Jul 12, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I'm currently experimenting with a policy for user_home_dir_t for the main home directory for the user (with a transition to user_home_t) when they create new files or dirs. Then I have given ssh a transition rule for using it's own type for ~/.ssh, so I allow sshd { search getattr } access to the user's home dir and read access to ~/.ssh. This may make it slightly harder to extract some confidential info with a cracked sshd, and prevents some other programs that have access to the user's files from accessing ~/.ssh.

It's on http://www.coker.com.au/selinux/policy.tgz , please check it out and tell me what you think.

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.