Debugging options for tomcat41ctl

Ernst de Haan ernst.dehaan at nl.wanadoo.com
Mon Dec 15 02:49:21 PST 2003


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"



More information about the freebsd-java mailing list