Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 69482 invoked from network); 8 Sep 2004 10:13:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 10:13:48 -0000 Received: (qmail 25942 invoked by uid 500); 8 Sep 2004 10:13:36 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 25826 invoked by uid 500); 8 Sep 2004 10:13:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 25802 invoked by uid 99); 8 Sep 2004 10:13:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [217.115.66.8] (HELO plim.fujitsu-siemens.com) (217.115.66.8) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 03:13:32 -0700 Received: from trulli.pdb.fsc.net ([172.25.96.53]) by plim.fujitsu-siemens.com (8.11.3/8.11.3) with ESMTP id i88ADSo18266 for ; Wed, 8 Sep 2004 12:13:28 +0200 Received: from deejai2.mch.fsc.net (deejai2.mch.fsc.net [172.25.124.236]) by trulli.pdb.fsc.net (8.11.6/8.11.6) with ESMTP id i88ADRu16940 for ; Wed, 8 Sep 2004 12:13:28 +0200 Received: from fujitsu-siemens.com (0w1ctpc8p6bes814@deejai2.mch.fsc.net [172.25.124.236]) by deejai2.mch.fsc.net (8.12.11/8.12.11) with ESMTP id i88AApTQ095372 for ; Wed, 8 Sep 2004 12:10:51 +0200 (CEST) (envelope-from jfrederic.clere@fujitsu-siemens.com) Message-ID: <413EDBD8.8020505@fujitsu-siemens.com> Date: Wed, 08 Sep 2004 12:15:52 +0200 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040517 X-Accept-Language: ca, en, fr, de MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [REPOST][daemon] non-root user cannot start service on unix? References: <412DE311.1090404@wiggly.org> In-Reply-To: <412DE311.1090404@wiggly.org> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Nigel Rantor wrote: > > Hi there, > > I posted this about a week ago, if no-one is actually in charge of > daemon could someone let me know? > > Additionally if anyone uses daemon would you like to comment on how you > think it should be working, or perhaps why it works as it does? > > Cheese, > > N > > ------------------------------------------------------------------- > > Hi all, > > Using the daemon/jsvc combo I can't seem to start a daemon as a user > other than root. > > The process dies in set_caps which is the code path it goes through if > the jsvc binary is compiled on Linux and uses the linux capabilities > interface to do it's thang. That is normal. > > I am just wondering if this is the goal or not? Should I be able to run > a daemon as another user? For a production system it won't matter since > I will want the servers to eb started from init scripts anyway and can > pass the --user arg to the jsvc program. > > For development however I don't want to have to run these things as > root. Additionally some developers may not have the option of running > things as root on their systems. > > So, I guess I'm asking should I be able to run jsvc as non-root or not? No, use java instead. > > Cheers, > > Nige > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org