From owner-freebsd-java Wed Aug 28 2:31:17 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 77AAD37B400 for ; Wed, 28 Aug 2002 02:31:14 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C39B43E65 for ; Wed, 28 Aug 2002 02:31:13 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7S9VDYU089332; Wed, 28 Aug 2002 11:31:13 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7S9V1l1089327; Wed, 28 Aug 2002 11:31:01 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Ari Suutari , dan_256@yahoo.com, Greg Lewis Subject: Re: Jboss3ctl update (I think I know the problem) Date: Wed, 28 Aug 2002 11:31:01 +0200 User-Agent: KMail/1.4.3 Cc: dan_256@yahoo.com, K.J.Koster@kpn.com, freebsd-java@FreeBSD.ORG References: <20020828013922.50148.qmail@web13402.mail.yahoo.com> <200208280825.00833.znerd@FreeBSD.org> <200208281226.43560.ari.suutari@syncrontech.com> In-Reply-To: <200208281226.43560.ari.suutari@syncrontech.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208281131.01713.znerd@FreeBSD.org> 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 Just committed both patches (PORTREVISION and setuid) Ernst On Wednesday 28 August 2002 11:26, Ari Suutari wrote: > Hi, > > On Wednesday 28 August 2002 09:25, Ernst de Haan wrote: > > > So, really just calling setuid(geteuid()) makes things work. > > > No special kludgery is necessary. > > > > Could you mail me a patch? Then I will integrate it in daemonctl.c > > ASAP. > > Here 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 = argv[1]; > if (strcmp("start", argument) == 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 > > these discussions and improvements... > > No problem. The situation here is not so much different.... > > Ari S. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message