All of lore.kernel.org
 help / color / mirror / Atom feed
* local policy changes, /var/lib access, syslogd
@ 2003-06-25  1:49 Colin Walters
  2003-06-25  3:54 ` Russell Coker
  0 siblings, 1 reply; 7+ messages in thread
From: Colin Walters @ 2003-06-25  1:49 UTC (permalink / raw)
  To: selinux

Hi,

I have a few questions.  First, where is the best place to keep one's
local policy changes?  For example, I wanted to let user_t have general
access to httpd_sys_content_t, since almost all of my users maintain
their own websites.  So I just put 

# Since most of our users are also web admins, just allow this.
rw_dir_create_file(user_t,httpd_sys_content_t)
allow user_t httpd_sys_content_t:dir create_dir_perms;

in /etc/selinux/domains/misc/local.te.  Is there a more "standard" place
for this?

Secondly, I'm getting a lot of programs wanting search access to
/var/lib (var_lib_t).  At least sshd_t, user_ssh_t, syslogd_t,
postfix_master_t, etc.  I added a bunch of dontaudit rules, but I'm
wondering if anyone knew why these programs were trying to access
/var/lib?

Finally, I also get a number of denials from syslogd attempting to
access /dev/xconsole:

avc:  denied  { read write } for  pid=162 exe=/sbin/syslogd path=/dev/xconsole dev=03:01 ino=2310191 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:device_t tclass=fifo_file

I don't plan to use X on this machine, so I could just add a dontaudit I
suppose, but I'm curious why this isn't the default.

And thanks for SELinux, it's great!


--
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] 7+ messages in thread

end of thread, other threads:[~2003-06-25  8:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-25  1:49 local policy changes, /var/lib access, syslogd Colin Walters
2003-06-25  3:54 ` Russell Coker
2003-06-25  4:09   ` Colin Walters
2003-06-25  4:22     ` Russell Coker
2003-06-25  5:16       ` Colin Walters
2003-06-25  6:13         ` Russell Coker
2003-06-25  8:49           ` Colin Walters

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.