From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12704 invoked by alias); 14 Sep 2003 21:22:18 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12697 invoked from network); 14 Sep 2003 21:22:18 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 14 Sep 2003 21:22:18 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19yeJr-0008Lf-00 for ; Sun, 14 Sep 2003 23:22:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yeJq-0008LX-00 for ; Sun, 14 Sep 2003 23:22:06 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19yeK0-0003QV-00 for ; Sun, 14 Sep 2003 23:22:16 +0200 From: =?ISO-8859-1?Q?Ren=E9_Haber?= Subject: Re: cron: can't switch user context Date: Sun, 14 Sep 2003 21:22:00 -0000 Message-ID: References: <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> X-SW-Source: 2003-09/txt/msg00885.txt.bz2 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. > > > > 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/