From owner-freebsd-java@FreeBSD.ORG Mon Dec 15 02:42:29 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 D890216A4CE for ; Mon, 15 Dec 2003 02:42:29 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54E043D36 for ; Mon, 15 Dec 2003 02:42:28 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD) id 1AVqBH-000GWT-H5; Mon, 15 Dec 2003 12:42:27 +0200 Date: Mon, 15 Dec 2003 12:42:27 +0200 From: Sheldon Hearn To: Ernst de Haan Message-ID: <20031215104227.GN13737@starjuice.net> Mail-Followup-To: Ernst de Haan , freebsd-java@FreeBSD.org References: <20031213145040.GE13737@starjuice.net> <200312150810.22127.ernst.dehaan@nl.wanadoo.com> <20031215093619.GM13737@starjuice.net> <200312151138.55354.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312151138.55354.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.5.4i 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:42:30 -0000 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.