delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/14/17:22:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Haber?= <rene DOT haber AT gmx DOT de>
Subject: Re: cron: can't switch user context
Date: Sun, 14 Sep 2003 23:22:15 +0200
Lines: 33
Message-ID: <bk2m68$crm$1@sea.gmane.org>
References: <BADF3C947A1BD54FBA75C70C241B0B9E763574 AT ex02 DOT co DOT idirect DOT net > <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030910120000 DOT 02a188f0 AT 127 DOT 0 DOT 0 DOT 1>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
In-Reply-To: <5.1.0.14.0.20030910120000.02a188f0@127.0.0.1>

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.

Thanks.
René

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.
> 
> <http://www.cygwin.com/ml/cygwin/2003-07/msg00684.html>
> 
> 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.
> 
> Larry
> 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019