Mail Archives: cygwin/2001/06/22/13:07:37
On Fri, Jun 22, 2001 at 01:50:20AM +0200, Michael Schaap wrote:
> At 20:43 21-6-2001, Corinna Vinschen wrote:
> >Maybe, I missed something when porting. I'm currently in vacation
> >so that will take some time.
>
> I think you should interrupt your vacation to solve this problem RIGHT NOW!
> (Just kidding, of course. Enjoy your well deserved vacation.)
>
> In any case, I checked the source code, and crontab indeed tries to seteuid
> to ROOT_UID (= System). It looks like you added code to seteuid back to
> the original uid almost immediately afterwards. If you instead not seteuid
> at all, it seems to work fine. (Well, probably only for users with
> Administrator privileges, but that's better than requiring System privileges.)
>
> I've attached a patch for this change.
>
> - Michael
Thanks, Michael!
I have applied the patch and uploaded a new version of cron (3.0.1-2)
to sourceware. It should appear on the mirrors at least tomorrow.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -