progress! ssh.
Quoted 16 lines · Russell Coker
Review line 238
Quoted 12 lines · Luke Kenneth Casson Leighton
---
/usr/share/selinux/policy/default/domains/program/ssh.te2004-05-30
07:06:13.000000000 +0100 +++ domains/program/ssh.te 2004-06-01
00:02:58.000000000 +0100(quoted diff) +5
-0@@ -231,3 +231,12 @@ allow ssh_keygen_t self:unix_stream_socket create_stream_socket_perms; allow ssh_keygen_t sysadm_tty_device_t:chr_file { read write }; allow ssh_keygen_t urandom_device_t:chr_file { getattr read }; + +# provide means for /sbin/unix_chkpwd to do some "stuff" with sshd, hey +# i don't pretend to understand... +allow system_chkpwd_t sshd_t:tcp_socket { read write }; +allow system_chkpwd_t sshd_t:unix_stream_socket { read write };This is not necessary. In the Fedora PAM package there is code to close those file handles before exec so those accesses are never attempted.
oh, right. *puzzled*.
if Fedora PAM has been patched, would you mind forwarding the patch to me so i can ping pam-list with it?
Quoted 3 lines
A dontaudit
rule would be an OK work-around (but should not be in the distributed policy).
ah... ... okay.
Quoted 6 lines
Review line 240
Quoted 2 lines
(quoted diff) +2
-0+# users can't ssh in! or they _can_, they just can't run a shell (!) +allow user_t sshd_devpts_t:chr_file { ioctl read write };That's a bug in PAM or sshd. I haven't got around to tracking it down. It would be good if you could debug pam and find out why it doesn't relabel the controlling tty for some users.
eek! me?? *panic* :)
okay.
--
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.
Quoted 6 lines · Russell Coker
Quoted 5 lines · Luke Kenneth Casson Leighton
Quoted 2 lines
This is not necessary. In the Fedora PAM package there is code to close those file handles before exec so those accesses are never attempted.
oh, right. *puzzled*.
Quoted 7 lines
Quoted 2 lines
if Fedora PAM has been patched, would you mind forwarding the patch to me so i can ping pam-list with it?
http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/SRPMS/
The PAM source at the above URL has it. pam-list seems to be dead however. PAM development continues independently in Debian and Red Hat.
oh, bugger.
oh joy.
Quoted 2 lines
If you want a
new upstream version of PAM then the best thing to do would be to fork it.
hm, it's in sf. i wonder if andrew's responsive.
Quoted 1 line
Forking PAM will get less resistance from upstream than forking Samba...
so that explains why there are FIFTY patches to pam 0.76 in the debian/patches directory.
l.
--
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.