system_locallogin.patch
http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_locallogin.patch
Fixes for zseries
lots of stuff differs from upstream.
Quoted 5 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_locallogin.patch
Fixes for zseries
lots of stuff differs from upstream.
What is the generic usb device usage for?
It looks like that the sulogin_no_pam option needs to transition to a tunable (locallogin_sulogin_pam). Does redhat patch on SELinux support to sulogin, since you added the rules for computing the user contexts?
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
Quoted 8 lines · Christopher J. PeBenito
Quoted 5 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_locallogin.patch
Fixes for zseries
lots of stuff differs from upstream.
What is the generic usb device usage for?
I think this comes from fingerprint reader. Google is a wonderful thing.
https://bugzilla.redhat.com/show_bug.cgi?id=301961
https://bugzilla.redhat.com/attachment.cgi?id=208401
Quoted 5 lines
It looks like that the
sulogin_no_pamoption needs to transition to a tunable (locallogin_sulogin_pam). Does redhat patch on SELinux support to sulogin, since you added the rules for computing the user contexts?
sulogin uses pam at Red Hat so it goes through pam_selinux.
Quoted 4 lines · Daniel J Walsh
Quoted 3 lines · Christopher J. PeBenito
Quoted 2 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_locallogin.patch
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Fixes for zseries
lots of stuff differs from upstream.
What is the generic usb device usage for?
I think this comes from fingerprint reader. Google is a wonderful thing.
https://bugzilla.redhat.com/show_bug.cgi?id=301961
https://bugzilla.redhat.com/attachment.cgi?id=208401
It seems that it would be better to make sure fingerprint devices have their own label. We wouldn't want any random generic usb device being used for authentication.
Quoted 6 lines
Quoted 4 lines
It looks like that the
sulogin_no_pamoption needs to transition to a tunable (locallogin_sulogin_pam). Does redhat patch on SELinux support to sulogin, since you added the rules for computing the user contexts?sulogin uses pam at Red Hat so it goes through
pam_selinux.
Then I'm confused. Why was this added:
+ifdef(distro_redhat',
+ define(`sulogin_no_pam')
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
Quoted 9 lines · Christopher J. PeBenito
Quoted 8 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 5 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_locallogin.patch
Fixes for zseries
lots of stuff differs from upstream.
Quoted 9 lines
Quoted 4 lines
Quoted 1 line
What is the generic usb device usage for?
I think this comes from fingerprint reader. Google is a wonderful thing.
https://bugzilla.redhat.com/show_bug.cgi?id=301961
https://bugzilla.redhat.com/attachment.cgi?id=208401It seems that it would be better to make sure fingerprint devices have their own label. We wouldn't want any random generic usb device being used for authentication.
Not easy to do, Since you would need to generate udev rules for labeling of each usb device. I don't believe these have a standard path.
Review
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
It looks like that the
sulogin_no_pamoption needs to transition to a tunable (locallogin_sulogin_pam). Does redhat patch on SELinux support to sulogin, since you added the rules for computing the user contexts?sulogin uses pam at Red Hat so it goes through
pam_selinux.Then I'm confused. Why was this added:
(quoted diff) +2
-0+ifdef(`distro_redhat',` + define(`sulogin_no_pam')
Sorry I was mistaken it does NOT use pam.
sulogin on Red Hat platforms has the following
#ifdef WITH_SELINUX
if (is_selinux_enabled > 0) {
security_context_t scon=NULL;
char *seuser=NULL;
char *level=NULL;
if (getseuserbyname("root", &seuser, &level) == 0)
if (get_default_context_with_level(seuser, level, 0, &scon) > 0) {
if (setexeccon(scon) != 0)
fprintf(stderr, "setexeccon faile\n");
freecon(scon);
}
free(seuser);
free(level);
}#endif