Date: Wed, 28 Aug 2002 11:31:01 +0200 From: Ernst de Haan <znerd@FreeBSD.ORG> To: Ari Suutari <ari.suutari@syncrontech.com>, 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: <200208281131.01713.znerd@FreeBSD.org> In-Reply-To: <200208281226.43560.ari.suutari@syncrontech.com> References: <20020828013922.50148.qmail@web13402.mail.yahoo.com> <200208280825.00833.znerd@FreeBSD.org> <200208281226.43560.ari.suutari@syncrontech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208281131.01713.znerd>