From owner-freebsd-java Wed Aug 28 2:26: 5 2002 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 33AAC37B400; Wed, 28 Aug 2002 02:26:03 -0700 (PDT) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D93E43E65; Wed, 28 Aug 2002 02:26:01 -0700 (PDT) (envelope-from ari.suutari@syncrontech.com) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.3/8.12.3) with ESMTP id g7S9PoeA026988; Wed, 28 Aug 2002 12:25:50 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Content-Type: text/plain; charset="iso-8859-1" From: Ari Suutari Organization: Syncron Tech Oy To: Ernst de Haan , dan_256@yahoo.com, Greg Lewis Subject: Re: Jboss3ctl update (I think I know the problem) Date: Wed, 28 Aug 2002 12:26:43 +0300 User-Agent: KMail/1.4.2 Cc: dan_256@yahoo.com, K.J.Koster@kpn.com, freebsd-java@FreeBSD.ORG References: <20020828013922.50148.qmail@web13402.mail.yahoo.com> <200208280904.31561.ari.suutari@syncrontech.com> <200208280825.00833.znerd@FreeBSD.org> In-Reply-To: <200208280825.00833.znerd@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208281226.43560.ari.suutari@syncrontech.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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