Why not make the user that Tomcat runs at a member of the group you need it in?

Why do you need to change the group if it is set ahead of time?

Doug


----- Original Message ----- From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, April 18, 2005 9:25 PM
Subject: Re: Set group id using jsvc?



On Mon, Apr 18, 2005 at 12:50:26PM -0400, Nick Johnson wrote:
: I know that jsvc will let you set the user id of the tomcat process,
: but will it also let you set the group id of the process?

Off the top of my head I don't know; but you can grep the source code
for "setgid()"  (or even setegid()).  That call sets group membership.

Do you need jsvc to run Tomcat on a privileged port?  If not, you could
use erni[1] for fine-tuned group membership.

-QM

[1] = http://www.brandxdev.net/erni/index.site


--

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to