Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 12:42:27 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: Debugging options for tomcat41ctl
Message-ID:  <20031215104227.GN13737@starjuice.net>
In-Reply-To: <200312151138.55354.ernst.dehaan@nl.wanadoo.com>
References:  <20031213145040.GE13737@starjuice.net> <200312150810.22127.ernst.dehaan@nl.wanadoo.com> <20031215093619.GM13737@starjuice.net> <200312151138.55354.ernst.dehaan@nl.wanadoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031215104227.GN13737>