Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Haber?= <rene.haber@gmx.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@ex02.co.idirect.net > <5.1.0.14.0.20030910120000.02a188f0@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@sea.gmane.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/

