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: can't switch user context

I already read the link and tried to create an account as Corinna suggested, but then cron doesn't start while creating this error in the syslog:

   CYGWIN crond : PID 3376 : starting service `CYGWIN crond' failed:
   execv: 1, Operation not permitted.

I also tried Mark's new cron-diagnose script, but it didn't find any errors.


Larry Hall wrote:
Actually, I'd suggest googling, especially when you're asking if the issue you're having is a known problem or if there are any work-arounds. In this case, you'd find all sort of references to
Windows 2003 and services that need to be able to switch user contexts.


This one talks about ssh but it's the same issue. Follow the instructions
there for creating a privileged user that you can run cron as and you should have your solution. It's easy to look for this sort of stuff.
Try it.

I'd suggest you run Mark's script as well though and provide feedback.
It would be good to know if it thinks there's anything else that might
be wrong too.


Unsubscribe info:
Problem reports:

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