Date: Wed, 28 Aug 2002 12:26:43 +0300 From: Ari Suutari <ari.suutari@syncrontech.com> To: Ernst de Haan <znerd@FreeBSD.ORG>, dan_256@yahoo.com, Greg Lewis <glewis@eyesbeyond.com> Cc: dan_256@yahoo.com, K.J.Koster@kpn.com, freebsd-java@FreeBSD.ORG Subject: Re: Jboss3ctl update (I think I know the problem) Message-ID: <200208281226.43560.ari.suutari@syncrontech.com> In-Reply-To: <200208280825.00833.znerd@FreeBSD.org> References: <20020828013922.50148.qmail@web13402.mail.yahoo.com> <200208280904.31561.ari.suutari@syncrontech.com> <200208280825.00833.znerd@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Wednesday 28 August 2002 09:25, Ernst de Haan wrote: > > =09So, really just calling setuid(geteuid()) makes things work. > > =09No special kludgery is necessary. > > Could you mail me a patch? Then I will integrate it in daemonctl.c ASAP= =2E =09Here it is. --------------------------- *** d.orig Wed Aug 28 11:26:09 2002 --- daemonctl.c Wed Aug 28 12:23:58 2002 *************** *** 78,83 **** --- 78,85 ---- return 0; } + setuid(geteuid()); + argument =3D argv[1]; if (strcmp("start", argument) =3D=3D 0) { start(); ------------------- > I'm close to a *very* tight deadline (Wednesday next week), so my time = is > limited, for which I apologize :-( Wish I could spend more time on thes= e > discussions and improvements... =09No problem. The situation here is not so much different.... =09=09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208281226.43560.ari.suutari>