From: Colin Walters <walters@verbum.org>
To: Nick Gray <nick-lists@austin.rr.com>
Cc: SELinux ML <selinux@tycho.nsa.gov>
Subject: Re: Tomcat policy
Date: Thu, 16 Dec 2004 16:39:02 -0500 [thread overview]
Message-ID: <1103233142.12552.77.camel@nexus.verbum.private> (raw)
In-Reply-To: <1103224127.32688.49.camel@hawaii.grays-systems.com>
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
On Thu, 2004-12-16 at 13:08 -0600, Nick Gray wrote:
> #/usr/local/tomcat/5.0.28(/.*)? system_u:object_r:tomcat_t
You want tomcat_exec_t.
> I think I understand how to protect the daemon from the system, how do I
> protect the system from the daemon.
>
> The example I can come up with is a jsp page that opens
> the /etc/passwd/file and prints it. I want to keep the tomcat process
> encapsulated in it own space
Simply don't allow tomcat_t access to passwd_t.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-12-16 21:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-16 19:08 Tomcat policy Nick Gray
2004-12-16 20:46 ` Stephen Smalley
2004-12-17 14:56 ` Nick Gray
2004-12-17 15:09 ` Stephen Smalley
2004-12-17 16:36 ` Nick Gray
2004-12-16 21:39 ` Colin Walters [this message]
2004-12-16 21:47 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1103233142.12552.77.camel@nexus.verbum.private \
--to=walters@verbum.org \
--cc=nick-lists@austin.rr.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.