All of lore.kernel.org
 help / color / mirror / Atom feed
* Selinux and Apache in chroot question....
@ 2010-05-07 20:25 fred.schnittke
  2010-05-08  7:59 ` Dominick Grift
  2010-05-10 14:14 ` Daniel J Walsh
  0 siblings, 2 replies; 6+ messages in thread
From: fred.schnittke @ 2010-05-07 20:25 UTC (permalink / raw)
  To: SELinux

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Hi:

Not sure if this is the right place to post a question like this, but I'll 
give it a shot.

I've been following the "Guide to the Secure Configuration of Red Hat 
Enterprise Linux 5" (which has been a great resource) in setting up our 
new server. However I ran into problems chrooting, apache, php and mysql. 
So it was suggested to remove the applications and compile from source. 
After that was done, I moved the three applications to my chroot, and with 
a bit of effort, it all works. The only thing is, I don't think SELINUX is 
monitoring any of the files in the chroot. For instance, it still thinks 
the web directory is in /var/www/ instead of /chroot/httpd/usr/local/www.

When I run the following command: 

ps -eZ | egrep "initrc" | egrep -vw "tr|ps|egrep|bash|awk" | tr ':' ' ' | 
awk '{ print $NF }'

I get this output:

mysqld
httpd
httpd
httpd
httpd
httpd
httpd
httpd
httpd
 
So my question is:

Is there a (an easy) way to confine these daemons?

 
Regards, 
 
 
Fred Schnittke  MCSE, MCP,
Network Engineer
VETERINARY PURCHASING company limited

[-- Attachment #2: Type: text/html, Size: 2195 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-11 20:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 20:25 Selinux and Apache in chroot question fred.schnittke
2010-05-08  7:59 ` Dominick Grift
2010-05-10 13:35   ` fred.schnittke
2010-05-11 18:57   ` fred.schnittke
2010-05-11 20:54     ` Daniel J Walsh
2010-05-10 14:14 ` Daniel J Walsh

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.