This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron + network share(w/ full access?)

Hello and Happy New Year.

Would it be possible to see your altered /etc/passwd? 
I must be doing something wrong.  I've made my user
have uid 18, put his entry before SYSTEM, and I still
get the same 1062 error when starting the cron service
as that user. 

I've been banging my head against the wall on the
cron-job-accessing-network-shares problem for a couple
days now :)  I'm glad I found this thread, it's given
me some hope.

Can anyone verify that they've got this trick/hack to
work in the current version of cygwin cron?

Thanks in advance,

> 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 18.
With a little bit of luck
> the setuid(18) will be a noop. 
> Try keeping the SYSTEM uid to 18, too, for now. It's
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 it.

thanks a lot!

thanks to all the Cygwin developers, it's a fantastic


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]