* [PATCH] refpolicy:locallogin problem still exists?
@ 2007-10-14 4:49 shintaro_fujiwara
2007-10-15 18:27 ` Christopher J. PeBenito
0 siblings, 1 reply; 9+ messages in thread
From: shintaro_fujiwara @ 2007-10-14 4:49 UTC (permalink / raw)
To: selinux, cpebenito
Index: modules/system/locallogin.te
===================================================================
--- modules/system/locallogin.te (revision 2454)
+++ modules/system/locallogin.te (working copy)
@@ -33,7 +33,7 @@
# Local login local policy
#
-allow local_login_t self:capability { dac_override chown fowner fsetid
kill setgid setuid sys_nice sys_resource sys_tty_config };
+allow local_login_t self:capability { audit_control dac_override chown
fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config };
allow local_login_t self:process ~{ ptrace setcurrent setexec
setfscreate setrlimit execmem execstack execheap };
allow local_login_t self:process { setrlimit setexec };
allow local_login_t self:fd use;
@@ -102,6 +102,8 @@
auth_rw_faillog(local_login_t)
auth_manage_pam_console_data(local_login_t)
auth_domtrans_pam_console(local_login_t)
+auth_domtrans_chk_passwd(local_login_t)
+logging_send_audit_msgs(local_login_t)
corecmd_list_bin(local_login_t)
corecmd_read_bin_symlinks(local_login_t)
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-14 4:49 [PATCH] refpolicy:locallogin problem still exists? shintaro_fujiwara @ 2007-10-15 18:27 ` Christopher J. PeBenito 2007-10-15 22:02 ` Shintaro Fujiwara 0 siblings, 1 reply; 9+ messages in thread From: Christopher J. PeBenito @ 2007-10-15 18:27 UTC (permalink / raw) To: shintaro_fujiwara; +Cc: selinux On Sun, 2007-10-14 at 13:49 +0900, shintaro_fujiwara wrote: > Index: modules/system/locallogin.te > =================================================================== > --- modules/system/locallogin.te (revision 2454) > +++ modules/system/locallogin.te (working copy) > @@ -33,7 +33,7 @@ > # Local login local policy > # > > -allow local_login_t self:capability { dac_override chown fowner fsetid > kill setgid setuid sys_nice sys_resource sys_tty_config }; > +allow local_login_t self:capability { audit_control dac_override chown > fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config }; > allow local_login_t self:process ~{ ptrace setcurrent setexec > setfscreate setrlimit execmem execstack execheap }; > allow local_login_t self:process { setrlimit setexec }; > allow local_login_t self:fd use; > @@ -102,6 +102,8 @@ > auth_rw_faillog(local_login_t) > auth_manage_pam_console_data(local_login_t) > auth_domtrans_pam_console(local_login_t) > +auth_domtrans_chk_passwd(local_login_t) > +logging_send_audit_msgs(local_login_t) > > corecmd_list_bin(local_login_t) > corecmd_read_bin_symlinks(local_login_t) local_login_t already has these perms due to it being a auth_login_pgm_domain(). -- Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-15 18:27 ` Christopher J. PeBenito @ 2007-10-15 22:02 ` Shintaro Fujiwara 2007-10-16 14:29 ` Christopher J. PeBenito 0 siblings, 1 reply; 9+ messages in thread From: Shintaro Fujiwara @ 2007-10-15 22:02 UTC (permalink / raw) To: Christopher J. PeBenito, selinux I understand. But, last weekend I made another strict F7 machine, updated everything, and could not login in enforcing mode. I thought you guys fixed it, though. What's wrong or am I wrong? I just want to login and no other. 2007/10/16, Christopher J. PeBenito <cpebenito@tresys.com>: > On Sun, 2007-10-14 at 13:49 +0900, shintaro_fujiwara wrote: > > Index: modules/system/locallogin.te > > =================================================================== > > --- modules/system/locallogin.te (revision 2454) > > +++ modules/system/locallogin.te (working copy) > > @@ -33,7 +33,7 @@ > > # Local login local policy > > # > > > > -allow local_login_t self:capability { dac_override chown fowner fsetid > > kill setgid setuid sys_nice sys_resource sys_tty_config }; > > +allow local_login_t self:capability { audit_control dac_override chown > > fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config }; > > allow local_login_t self:process ~{ ptrace setcurrent setexec > > setfscreate setrlimit execmem execstack execheap }; > > allow local_login_t self:process { setrlimit setexec }; > > allow local_login_t self:fd use; > > @@ -102,6 +102,8 @@ > > auth_rw_faillog(local_login_t) > > auth_manage_pam_console_data(local_login_t) > > auth_domtrans_pam_console(local_login_t) > > +auth_domtrans_chk_passwd(local_login_t) > > +logging_send_audit_msgs(local_login_t) > > > > corecmd_list_bin(local_login_t) > > corecmd_read_bin_symlinks(local_login_t) > > local_login_t already has these perms due to it being a > auth_login_pgm_domain(). > > -- > Chris PeBenito > Tresys Technology, LLC > (410) 290-1411 x150 > > > -- > This message was distributed to subscribers of the selinux mailing list. > If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with > the words "unsubscribe selinux" without quotes as the message. > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-15 22:02 ` Shintaro Fujiwara @ 2007-10-16 14:29 ` Christopher J. PeBenito 2007-10-16 15:46 ` Shintaro Fujiwara 0 siblings, 1 reply; 9+ messages in thread From: Christopher J. PeBenito @ 2007-10-16 14:29 UTC (permalink / raw) To: Shintaro Fujiwara; +Cc: selinux On Tue, 2007-10-16 at 07:02 +0900, Shintaro Fujiwara wrote: > I understand. > > But, last weekend I made another strict F7 machine, > updated everything, > and could not login in enforcing mode. > I thought you guys fixed it, though. > What's wrong or am I wrong? > I just want to login and no other. Are you using refpolicy svn or the fedora policy? > 2007/10/16, Christopher J. PeBenito <cpebenito@tresys.com>: > > On Sun, 2007-10-14 at 13:49 +0900, shintaro_fujiwara wrote: > > > Index: modules/system/locallogin.te > > > =================================================================== > > > --- modules/system/locallogin.te (revision 2454) > > > +++ modules/system/locallogin.te (working copy) > > > @@ -33,7 +33,7 @@ > > > # Local login local policy > > > # > > > > > > -allow local_login_t self:capability { dac_override chown fowner fsetid > > > kill setgid setuid sys_nice sys_resource sys_tty_config }; > > > +allow local_login_t self:capability { audit_control dac_override chown > > > fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config }; > > > allow local_login_t self:process ~{ ptrace setcurrent setexec > > > setfscreate setrlimit execmem execstack execheap }; > > > allow local_login_t self:process { setrlimit setexec }; > > > allow local_login_t self:fd use; > > > @@ -102,6 +102,8 @@ > > > auth_rw_faillog(local_login_t) > > > auth_manage_pam_console_data(local_login_t) > > > auth_domtrans_pam_console(local_login_t) > > > +auth_domtrans_chk_passwd(local_login_t) > > > +logging_send_audit_msgs(local_login_t) > > > > > > corecmd_list_bin(local_login_t) > > > corecmd_read_bin_symlinks(local_login_t) > > > > local_login_t already has these perms due to it being a > > auth_login_pgm_domain(). -- Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-16 14:29 ` Christopher J. PeBenito @ 2007-10-16 15:46 ` Shintaro Fujiwara 2007-10-17 21:05 ` Russell Coker 0 siblings, 1 reply; 9+ messages in thread From: Shintaro Fujiwara @ 2007-10-16 15:46 UTC (permalink / raw) To: Christopher J. PeBenito, selinux I started up new strict machine on F7. And I recognized that still I have a problem of logiging in. Sigh...(LIke Mr. Tom L.) So, as you asked and what I understood now, is there a difference between refpolicy latest and selinux latest? I always use selinux latest and customize with your work, I mean refpolicy, and I prospect that in F8 there should be no problem around. Thanks ! p.s. I cannot answer you guys several days due to the short trip. I can't tell you any more... 2007/10/16, Christopher J. PeBenito <cpebenito@tresys.com>: > On Tue, 2007-10-16 at 07:02 +0900, Shintaro Fujiwara wrote: > > I understand. > > > > But, last weekend I made another strict F7 machine, > > updated everything, > > and could not login in enforcing mode. > > I thought you guys fixed it, though. > > What's wrong or am I wrong? > > I just want to login and no other. > > Are you using refpolicy svn or the fedora policy? > > > 2007/10/16, Christopher J. PeBenito <cpebenito@tresys.com>: > > > On Sun, 2007-10-14 at 13:49 +0900, shintaro_fujiwara wrote: > > > > Index: modules/system/locallogin.te > > > > =================================================================== > > > > --- modules/system/locallogin.te (revision 2454) > > > > +++ modules/system/locallogin.te (working copy) > > > > @@ -33,7 +33,7 @@ > > > > # Local login local policy > > > > # > > > > > > > > -allow local_login_t self:capability { dac_override chown fowner fsetid > > > > kill setgid setuid sys_nice sys_resource sys_tty_config }; > > > > +allow local_login_t self:capability { audit_control dac_override chown > > > > fowner fsetid kill setgid setuid sys_nice sys_resource sys_tty_config }; > > > > allow local_login_t self:process ~{ ptrace setcurrent setexec > > > > setfscreate setrlimit execmem execstack execheap }; > > > > allow local_login_t self:process { setrlimit setexec }; > > > > allow local_login_t self:fd use; > > > > @@ -102,6 +102,8 @@ > > > > auth_rw_faillog(local_login_t) > > > > auth_manage_pam_console_data(local_login_t) > > > > auth_domtrans_pam_console(local_login_t) > > > > +auth_domtrans_chk_passwd(local_login_t) > > > > +logging_send_audit_msgs(local_login_t) > > > > > > > > corecmd_list_bin(local_login_t) > > > > corecmd_read_bin_symlinks(local_login_t) > > > > > > local_login_t already has these perms due to it being a > > > auth_login_pgm_domain(). > > -- > Chris PeBenito > Tresys Technology, LLC > (410) 290-1411 x150 > > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-16 15:46 ` Shintaro Fujiwara @ 2007-10-17 21:05 ` Russell Coker 2007-10-18 14:59 ` Shintaro Fujiwara 0 siblings, 1 reply; 9+ messages in thread From: Russell Coker @ 2007-10-17 21:05 UTC (permalink / raw) To: Shintaro Fujiwara; +Cc: Christopher J. PeBenito, selinux On Wednesday 17 October 2007 01:46, "Shintaro Fujiwara" <shintaro.fujiwara@gmail.com> wrote: > I started up new strict machine on F7. Incidentally I've just been working on strict policy in Debian. I've got a fully-functional strict machine running Debian/etch with minor policy updates. I'll release packages shortly (as soon as I get the gpg signature checking feature of apt working). -- russell@coker.com.au http://etbe.coker.com.au/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-17 21:05 ` Russell Coker @ 2007-10-18 14:59 ` Shintaro Fujiwara 2007-10-18 15:25 ` Russell Coker 0 siblings, 1 reply; 9+ messages in thread From: Shintaro Fujiwara @ 2007-10-18 14:59 UTC (permalink / raw) To: russell, selinux; +Cc: Christopher J. PeBenito Please inform me when you do release. I can check minor uptdates and incorporate into my own. Thanks. 2007/10/18, Russell Coker <russell@coker.com.au>: > On Wednesday 17 October 2007 01:46, "Shintaro Fujiwara" > <shintaro.fujiwara@gmail.com> wrote: > > I started up new strict machine on F7. > > Incidentally I've just been working on strict policy in Debian. I've got a > fully-functional strict machine running Debian/etch with minor policy > updates. I'll release packages shortly (as soon as I get the gpg signature > checking feature of apt working). > > -- > russell@coker.com.au > http://etbe.coker.com.au/ My Blog > > http://www.coker.com.au/sponsorship.html Sponsoring Free Software development > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-18 14:59 ` Shintaro Fujiwara @ 2007-10-18 15:25 ` Russell Coker 2007-10-18 15:37 ` Shintaro Fujiwara 0 siblings, 1 reply; 9+ messages in thread From: Russell Coker @ 2007-10-18 15:25 UTC (permalink / raw) To: Shintaro Fujiwara; +Cc: selinux, Christopher J. PeBenito On Friday 19 October 2007 00:59, "Shintaro Fujiwara" <shintaro.fujiwara@gmail.com> wrote: > Please inform me when you do release. > I can check minor uptdates and incorporate > into my own. deb http://www.coker.com.au etch selinux Above is the apt sources.list line, below is the blog post which goes live in 5.5 hours. But I doubt that anything other than the blog post will be of use to people who aren't running Debian. http://etbe.coker.com.au/2007/10/19/my-se-linux-etch-repository/ > > 2007/10/18, Russell Coker <russell@coker.com.au>: > > On Wednesday 17 October 2007 01:46, "Shintaro Fujiwara" > > > > <shintaro.fujiwara@gmail.com> wrote: > > > I started up new strict machine on F7. > > > > Incidentally I've just been working on strict policy in Debian. I've got > > a fully-functional strict machine running Debian/etch with minor policy > > updates. I'll release packages shortly (as soon as I get the gpg > > signature checking feature of apt working). > > > > -- > > russell@coker.com.au > > http://etbe.coker.com.au/ My Blog > > > > http://www.coker.com.au/sponsorship.html Sponsoring Free Software > > development -- russell@coker.com.au http://etbe.coker.com.au/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] refpolicy:locallogin problem still exists? 2007-10-18 15:25 ` Russell Coker @ 2007-10-18 15:37 ` Shintaro Fujiwara 0 siblings, 0 replies; 9+ messages in thread From: Shintaro Fujiwara @ 2007-10-18 15:37 UTC (permalink / raw) To: russell, selinux Debian-SELinux would be good option than Debian-AppArmor. I can study your policy. Cheers! 2007/10/19, Russell Coker <russell@coker.com.au>: > On Friday 19 October 2007 00:59, "Shintaro Fujiwara" > <shintaro.fujiwara@gmail.com> wrote: > > Please inform me when you do release. > > I can check minor uptdates and incorporate > > into my own. > > deb http://www.coker.com.au etch selinux > > Above is the apt sources.list line, below is the blog post which goes live in > 5.5 hours. But I doubt that anything other than the blog post will be of use > to people who aren't running Debian. > > http://etbe.coker.com.au/2007/10/19/my-se-linux-etch-repository/ > > > > > > > 2007/10/18, Russell Coker <russell@coker.com.au>: > > > On Wednesday 17 October 2007 01:46, "Shintaro Fujiwara" > > > > > > <shintaro.fujiwara@gmail.com> wrote: > > > > I started up new strict machine on F7. > > > > > > Incidentally I've just been working on strict policy in Debian. I've got > > > a fully-functional strict machine running Debian/etch with minor policy > > > updates. I'll release packages shortly (as soon as I get the gpg > > > signature checking feature of apt working). > > > > > > -- > > > russell@coker.com.au > > > http://etbe.coker.com.au/ My Blog > > > > > > http://www.coker.com.au/sponsorship.html Sponsoring Free Software > > > development > > -- > russell@coker.com.au > http://etbe.coker.com.au/ My Blog > > http://www.coker.com.au/sponsorship.html Sponsoring Free Software development > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-10-18 15:37 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-10-14 4:49 [PATCH] refpolicy:locallogin problem still exists? shintaro_fujiwara 2007-10-15 18:27 ` Christopher J. PeBenito 2007-10-15 22:02 ` Shintaro Fujiwara 2007-10-16 14:29 ` Christopher J. PeBenito 2007-10-16 15:46 ` Shintaro Fujiwara 2007-10-17 21:05 ` Russell Coker 2007-10-18 14:59 ` Shintaro Fujiwara 2007-10-18 15:25 ` Russell Coker 2007-10-18 15:37 ` Shintaro Fujiwara
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.