Skip to contentSkip to conversation

services_ssh.patch

refpolicy Daniel J Walsh 2 participants 4 messages Nov 12, 2009 – Jan 25, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/services_ssh.patch

Handle /root/.ssh directory

Lots of other fixes.

Moved tmpfs to server template to go along with the sem usage.

Since the tunnel support apparently needs net_admin capability, it needs to be put in a conditional. The capability definitely shouldn't be allowed in general use.

Dropped home dir changes to the client template. It shouldn't be using the user's ssh home dir.

Moved the "Required for FreeNX" /var/lib rules into the NX optional.

Otherwise merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
#2 lore raw
Quoted 14 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/services_ssh.patch

Handle /root/.ssh directory

Lots of other fixes.

Moved tmpfs to server template to go along with the sem usage.

Since the tunnel support apparently needs net_admin capability, it needs to be put in a conditional. The capability definitely shouldn't be allowed in general use.

Quoted 7 lines

Dropped home dir changes to the client template. It shouldn't be using the user's ssh home dir.

Moved the "Required for FreeNX" /var/lib rules into the NX optional.

Otherwise merged.

You still have places in your ssh.te that use home_ssh_t as opposed to ssh_home_t.

Which should we use?

#3 lore raw
Quoted 18 lines · Daniel J Walsh
Quoted 17 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/services_ssh.patch

Handle /root/.ssh directory

Lots of other fixes.

Moved tmpfs to server template to go along with the sem usage.

Since the tunnel support apparently needs net_admin capability, it needs to be put in a conditional. The capability definitely shouldn't be allowed in general use.

Dropped home dir changes to the client template. It shouldn't be using the user's ssh home dir.

Quoted 7 lines
Quoted 4 lines

Moved the "Required for FreeNX" /var/lib rules into the NX optional.

Otherwise merged.

You still have places in your ssh.te that use home_ssh_t as opposed to ssh_home_t.

Which should we use?

ssh_home_t. I've fixed the usage.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150