Howdy,
The server user executes the command. If you want to do fancier stuff,
look at
java.security.AccessController#doPrivileged methods.
Yoav Shapira
Millennium ChemInformatics
>-----Original Message-----
>From: alberto.savoini@(protected)
>[mailto:alberto.savoini@(protected)]
>Sent: Wednesday, December 10, 2003 10:40 AM
>To: Tomcat Users List
>Subject: linux user
>
>
>
>
>
>I 've installed Tomcat 4.1 on a linux ( redhat 8 ) machine and I need
to
>run unix commands and scripts using jsp/java : I use , for example,
>Runtime.getRuntime().exec( command ) where command is a script or a
linux
>command.
>Which user executes the command and may I change it ?
>
>Thank you,
>
>Alberto
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)