This is the mail archive of the
mailing list for the Cygwin project.
RE: cron + network share(w/ full access?)
- From: Alan London <alondon7 at yahoo dot ca>
- To: "Harig, Mark" <maharig at idirect dot net>, tgun at bioscrypt dot com
- Cc: cygwin at cygwin dot com
- Date: Fri, 9 Jan 2004 13:40:49 -0800 (PST)
- Subject: RE: cron + network share(w/ full access?)
Thanks for the message but cron_diagnose.sh doesn't
seem to give me insight on what I'm trying to do.
I was trying to perform a hack discussed in this
I am attempting to have the cron service run as
another user so that it can access network shares.
--- "Harig, Mark" <firstname.lastname@example.org> wrote:
> Please try running this diagnostic script
> to see if it can help identify the cause
> of your problem:
> > -----Original Message-----
> > From: Alan London [mailto:email@example.com]
> > Sent: Thursday, January 01, 2004 11:38 PM
> > To: firstname.lastname@example.org
> > Cc: email@example.com
> > Subject: Re: cron + network share(w/ full access?)
> > Hello and Happy New Year.
> > Would it be possible to see your altered
> > I must be doing something wrong. I've made my
> > have uid 18, put his entry before SYSTEM, and I
> > get the same 1062 error when starting the cron
> > as that user.
> > I've been banging my head against the wall on the
> > cron-job-accessing-network-shares problem for a
> > days now :) I'm glad I found this thread, it's
> > me some hope.
> > Can anyone verify that they've got this trick/hack
> > work in the current version of cygwin cron?
> > Thanks in advance,
> > Alan
> > ------------
> > > Right. Looks like 18 is hardwired in cron.
> > > So after you create that user and update the
> > /etc/passwd file you would need to edit
> > > /etc/password and change the uid of the user to
> > With a little bit of luck
> > > the setuid(18) will be a noop.
> > > Try keeping the SYSTEM uid to 18, too, for now.
> > probably hardwired too.
> > > My head is spinning and I don't have the time to
> > sort through all the implications.
> > ok, changing the uid to 18 in the passwd file did
> > thanks a lot!
> > thanks to all the Cygwin developers, it's a
> > tool!
> > --tim
> > __________________________________
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing.
> > http://photos.yahoo.com/
> > --
> > Unsubscribe info:
> > Problem reports:
> > Documentation: http://cygwin.com/docs.html
> > FAQ: http://cygwin.com/faq/
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html