Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 7456 invoked from network); 10 Jun 2008 20:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 20:07:39 -0000 Received: (qmail 39467 invoked by uid 500); 10 Jun 2008 20:07:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39402 invoked by uid 500); 10 Jun 2008 20:07:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 39390 invoked by uid 99); 10 Jun 2008 20:07:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 13:07:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.30.32] (HELO QMTA03.emeryville.ca.mail.comcast.net) (76.96.30.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 20:06:39 +0000 Received: from OMTA09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id cHAk1Z04v0S2fkCA306s00; Tue, 10 Jun 2008 20:06:51 +0000 Received: from [192.168.1.125] ([68.55.225.178]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id cL6q1Z00G3ra03G8VL6rHc; Tue, 10 Jun 2008 20:06:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=s1zS32H4KusA:10 a=6qQS5JRX9koA:10 a=xe8BsctaAAAA:8 a=rty_hCn3NxCo6KyrTGIA:9 a=F-CjneixG-Qzf2lGgZINZue_kPsA:4 a=rPt6xJ-oxjAA:10 Message-ID: <484EDED9.3010802@christopherschultz.net> Date: Tue, 10 Jun 2008 16:06:49 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How can I run one particular webapp as a different user? References: <17640708.post@talk.nabble.com> <484EDAD0.8050601@christopherschultz.net> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arun, Don't hijack threads :( Sudhir, Arun wrote: | I'm using Tomcat in Linux and when I use Runtime.exec from Tomcat, the | unix commands run as user "dingo". But I have another user "aruns" and I | would like ONE AND ONLY ONE of my web applications to use Runtime.exec() | to run a perl script as user "aruns" and not as user "Dingo". Is this | possible? If so how ? How would you do this on the command-line? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhO3tkACgkQ9CaO5/Lv0PBFuACeLeZPJhQ26SCEk1V0KgmBC0Bc HcoAoK4r5/bGbe7rtg1psrHbv4yH/Q2S =1nyA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org