delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/12/11:19:43

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
Message-ID: <3D07666A.AFC2060C@msoft.com>
Date: Wed, 12 Jun 2002 08:19:06 -0700
From: pianoman AT msoft DOT com (Scott Cokely)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: CRON startup problems with Win2K

I was looking through the mail archives for help with this, and found
a post by Jari Aalto describing my problem, but I didn't see the resolution.

The error that I get is:

    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
    The service has not been started.

The error from "cron.exe" when run on the command line is:

    seteuid: Not owner

Corinna Vinschen responded with:

>> Sure. cron needs privileges only given to SYSTEM by default.

So my question is:  What do I do to give cron these privileges?  Starting
cron as Administrator doesn't do it, and according to the README, cron
is supposed to run as SYSTEM by default.  What do I need to do to make
this work for me?

By the way, the command I'm using to create the service is as follows:

    cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"

Thanks for your help, and thanks for Cygwin!

-- 
# Scott Cokely                 #  The Internet interprets censorship
# (949)474-9712 x209           #  as damage, and routes AROUND it.
# include "std_disclaimer.pl"; #------------------------------------
#               Quidquid latine dictum sit, altum viditur.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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