tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Haynes" <>
Subject Re: Selecting spawned task user
Date Tue, 27 Feb 2001 16:20:03 GMT

I read somewhere last night in the Tomcat documentation (can't
remember where) about starting it with something like:

su fred

Suggest you hunt for the correct version of this.


----- Original Message -----
From: "John Preston" <>
To: <>
Sent: Tuesday, February 27, 2001 3:44 PM
Subject: Re: Selecting spawned task user

> Hi, I'm new to this mailing list although I was previously a member
of the
> JServ mailing list.
> Can anybody tell me what is the preferred way of setting the user
that a
> spawned
> Runtime.exec(???) task is run as. I spawn some unix tasks from my
> and I want them to
> run as a particular user. By default they are run as the user that
> is runnng as. However
> in the production system Tomcat will be started at boot time and
thus I
> expect will running as root.
> I want my servlet tasks to execute as another user.
> What is the preferred way of getting this done.
> Thanks In advance
> John Preston
> --------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

View raw message