Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= Subject: Re: cron: can't switch user context Date: Sun, 14 Sep 2003 23:22:15 +0200 Lines: 33 Message-ID: References: <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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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. > > > > 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/