From owner-freebsd-java@FreeBSD.ORG Mon Dec 15 02:49:21 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF03916A4CE for ; Mon, 15 Dec 2003 02:49:21 -0800 (PST) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9344E43D39 for ; Mon, 15 Dec 2003 02:49:20 -0800 (PST) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id EB037671D0; Mon, 15 Dec 2003 11:49:17 +0100 (MET) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Sheldon Hearn Date: Mon, 15 Dec 2003 11:49:22 +0100 User-Agent: KMail/1.5.4 References: <20031213145040.GE13737@starjuice.net> <200312151138.55354.ernst.dehaan@nl.wanadoo.com> <20031215104227.GN13737@starjuice.net> In-Reply-To: <20031215104227.GN13737@starjuice.net> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312151149.22912.ernst.dehaan@nl.wanadoo.com> cc: freebsd-java@FreeBSD.org Subject: Re: Debugging options for tomcat41ctl X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 10:49:21 -0000 No. If we start using something other than daemonctl, then that's perfectly fine, but then we must keep the functionality we provide at this very moment. Perhaps we could have just a single wrapper C program that will set the UID and/or GID and then executes a script with the specified arguments. I don't have time to go really into this, but I'm really supporting all efforts to improve this feature. Ernst On maandag 15 december 2003 11:42, Sheldon Hearn wrote: > On (2003/12/15 11:38), Ernst de Haan wrote: > > The only reason for this is that an rc.d script cannot be made suid. > > Oh, okay. > > So we only use daemonctl to get Tomcat / JBoss to run as user www? > > If that's the case, there are numerous ports out there that use su > effectively to start services under a specific UID. In which case, I'm > thinking the only reason you want daemonctl is so that non-root users > can start and stop the services it starts. > > Is that correct? If so, then I recommend we just use rc.d scripts, > providing daemonctl as an optional way to start services as a non-root > user. > > Ciao, > Sheldon. > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"