tomcat-users mailing list archives

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

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

su fred startup.sh

Suggest you hunt for the correct version of this.

Chris

----- Original Message -----
From: "John Preston" <jpreston@uwimona.edu.jm>
To: <tomcat-user@jakarta.apache.org>
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
servlets
> and I want them to
> run as a particular user. By default they are run as the user that
Tomcat
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message